void-packages/srcpkgs/openobex/template

40 lines
1.3 KiB
Plaintext

# Template file for 'openobex'
pkgname=openobex
version=1.5
revision=7
build_style=gnu-configure
configure_args="--enable-apps --enable-irda --enable-bluetooth --enable-usb"
makedepends="pkg-config libusb-compat-devel libbluetooth-devel"
short_desc="OpenOBEX applications"
homepage="http://dev.zuckschwerdt.org/openobex/"
license="LGPL-2"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://ftp.osuosl.org/pub/linux/bluetooth/$pkgname-$version.tar.bz2"
checksum=13996a1e3c69d857f1c7b1d0d9f1c674ccd395355dcae1442a91386b4d75254c
long_desc="
The Object Exchange protocol can best be described as binary HTTP. OBEX
is optimised for ad-hoc wireless links and can be used to exchange all kind
of objects like files, pictures, calendar entries (vCal) and business cards
(vCard).
OBEX is builtin in devices like PDA's like the Palm Pilot, and mobile phones
like the Ericsson R320, Siemens S25, Siemens S45, Siemens ME45, Nokia NM207
and Nokia 9110 Communicator."
libopenobex_package() {
short_desc="OBEX protocol library"
pkg_install() {
vmove "usr/lib/libopenobex.so*"
}
}
libopenobex-devel_package() {
depends="libbluetooth-devel libusb-compat-devel libopenobex>=${version}"
short_desc="OBEX protocol library (development files)"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
}
}