aboutsummaryrefslogtreecommitdiffstats
path: root/main/openobex/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-04-07 05:58:52 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-04-07 05:58:52 +0000
commita5a583e7d11705cb580c08466b2d476bca718bc1 (patch)
treed6c1dbccf9ffb33833b32c107e58d434ba5e2c50 /main/openobex/APKBUILD
parentbeb1b1720862c18461a3488b1c15211df9c9ce14 (diff)
downloadaports-a5a583e7d11705cb580c08466b2d476bca718bc1.tar.bz2
aports-a5a583e7d11705cb580c08466b2d476bca718bc1.tar.xz
main/gnome-bluetooth(and dependencies): moved from testing
Diffstat (limited to 'main/openobex/APKBUILD')
-rw-r--r--main/openobex/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/main/openobex/APKBUILD b/main/openobex/APKBUILD
new file mode 100644
index 0000000000..caaecb85e7
--- /dev/null
+++ b/main/openobex/APKBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=openobex
+pkgver=1.5
+pkgrel=3
+pkgdesc="Implementation of the OBject EXchange (OBEX) protocol"
+url="http://dev.zuckschwerdt.org/openobex/"
+arch="all"
+license="GPL LGPL"
+depends=
+depends_dev="libusb-compat-dev"
+makedepends="bluez-dev libusb-compat-dev"
+subpackages="$pkgname-dev libopenobex"
+source="http://www.kernel.org/pub/linux/bluetooth/$pkgname-$pkgver.tar.bz2"
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr \
+ --enable-apps \
+ --enable-irda \
+ --enable-bluetooth \
+ --enable-usb \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+libopenobex() {
+ mkdir -p "$subpkgdir"/usr/lib
+ mv "$pkgdir"/usr/lib/libopenobex.so.* "$subpkgdir"/usr/lib/
+}
+
+md5sums="fce1b82eafb74bde54fe117372393ba8 openobex-1.5.tar.bz2"