mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
28 lines
777 B
Bash
28 lines
777 B
Bash
# Maintainer: Geoffroy Carrier <geoffroy@archlinux.org>
|
|
# Contributor: damir <damir@archlinux.org>
|
|
|
|
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')
|