mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 21:47:13 +08:00
32 lines
922 B
Bash
32 lines
922 B
Bash
#
|
|
# 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>
|
|
|
|
pkgname=openobex
|
|
pkgver=1.5
|
|
pkgrel=2
|
|
pkgdesc="Implementation of the OBject EXchange (OBEX) protocol"
|
|
url="http://dev.zuckschwerdt.org/openobex/"
|
|
arch=('i686' 'x86_64')
|
|
license=('GPL' 'LGPL')
|
|
depends=('bluez>=4.55' 'libusb-compat')
|
|
options=('!libtool')
|
|
source=("http://www.kernel.org/pub/linux/bluetooth/$pkgname-$pkgver.tar.bz2")
|
|
md5sums=('fce1b82eafb74bde54fe117372393ba8')
|
|
|
|
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
|
|
}
|