mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 22:47:14 +08:00
31 lines
912 B
Bash
31 lines
912 B
Bash
|
# $Id: PKGBUILD 54270 2009-10-07 16:27:22Z andrea $
|
||
|
# Maintainer: Geoffroy Carrier <geoffroy@archlinux.org>
|
||
|
# Contributor: Andrea Scarpino <andrea@archlinux.org>
|
||
|
# Contributor: damir <damir@archlinux.org>
|
||
|
|
||
|
pkgname=openobex
|
||
|
pkgver=1.5
|
||
|
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.55' 'libusb')
|
||
|
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
|
||
|
}
|