2011-02-15 19:46:53 +08:00
|
|
|
#
|
|
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
|
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
2010-06-01 01:39:58 +08:00
|
|
|
|
|
|
|
pkgname=openobex
|
|
|
|
pkgver=1.5
|
2011-09-03 04:25:31 +08:00
|
|
|
pkgrel=3
|
2010-06-01 01:39:58 +08:00
|
|
|
pkgdesc="Implementation of the OBject EXchange (OBEX) protocol"
|
|
|
|
url="http://dev.zuckschwerdt.org/openobex/"
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
license=('GPL' 'LGPL')
|
2011-02-15 19:46:53 +08:00
|
|
|
depends=('bluez>=4.55' 'libusb-compat')
|
2010-06-01 01:39:58 +08:00
|
|
|
options=('!libtool')
|
|
|
|
source=("http://www.kernel.org/pub/linux/bluetooth/$pkgname-$pkgver.tar.bz2")
|
|
|
|
md5sums=('fce1b82eafb74bde54fe117372393ba8')
|
|
|
|
|
|
|
|
build() {
|
2011-09-03 04:25:31 +08:00
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
2010-06-01 01:39:58 +08:00
|
|
|
|
|
|
|
[ "${CARCH}" = "x86_64" ] && export CFLAGS="${CFLAGS} -fPIC"
|
|
|
|
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--enable-apps \
|
|
|
|
--enable-irda \
|
|
|
|
--enable-bluetooth \
|
2011-09-03 04:25:31 +08:00
|
|
|
--enable-usb
|
|
|
|
make
|
2010-06-01 01:39:58 +08:00
|
|
|
}
|
2011-09-03 04:25:31 +08:00
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
}
|
|
|
|
|