# Maintainer: Geoffroy Carrier # Contributor: damir pkgname=openobex pkgver=1.4 pkgrel=1 pkgdesc="Implementation of the OBject EXchange (OBEX) protocol" url="http://dev.zuckschwerdt.org/openobex/" arch=('i686' 'x86_64') license=('GPL' 'LGPL') depends=('bluez>=4.18') source=("http://www.kernel.org/pub/linux/bluetooth/$pkgname-$pkgver.tar.bz2") build() { cd "$srcdir/$pkgname-$pkgver" [ "${CARCH}" = "x86_64" ] && export CFLAGS="${CFLAGS} -fPIC" ./configure --prefix=/usr \ --enable-apps \ --enable-irda \ --enable-bluetooth \ --enable-usb || return 1 make || return 1 make DESTDIR="$pkgdir" install || return 1 } md5sums=('0cbbaa81f4b4f0e3e74632a7c9647de7')