summaryrefslogtreecommitdiffstats
path: root/main/openobex/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-08-17 08:05:07 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-08-17 11:58:46 +0000
commite4f97dca606b3924f207db75866e59ba9da293c1 (patch)
tree821babea45cf84549ca27810401295e37510af4a /main/openobex/APKBUILD
parentf7f9529af53e963173b6616333d33f8f6a7f922c (diff)
downloadaports-e4f97dca606b3924f207db75866e59ba9da293c1.tar.bz2
aports-e4f97dca606b3924f207db75866e59ba9da293c1.tar.xz
main/openobex: upgrade to 1.6
Diffstat (limited to 'main/openobex/APKBUILD')
-rw-r--r--main/openobex/APKBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/main/openobex/APKBUILD b/main/openobex/APKBUILD
index f91a54a19..30438bb88 100644
--- a/main/openobex/APKBUILD
+++ b/main/openobex/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=openobex
-pkgver=1.5
-pkgrel=4
+pkgver=1.6
+pkgrel=0
pkgdesc="Implementation of the OBject EXchange (OBEX) protocol"
url="http://dev.zuckschwerdt.org/openobex/"
arch="all"
@@ -10,10 +10,11 @@ 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"
+source="http://downloads.sourceforge.net/project/openobex/openobex/$pkgver/openobex-$pkgver-Source.tar.gz"
+_builddir="$srcdir"/openobex-$pkgver-Source
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$_builddir"
./configure --prefix=/usr \
--enable-apps \
--enable-irda \
@@ -24,7 +25,7 @@ build() {
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la
}
@@ -34,4 +35,4 @@ libopenobex() {
mv "$pkgdir"/usr/lib/libopenobex.so.* "$subpkgdir"/usr/lib/
}
-md5sums="fce1b82eafb74bde54fe117372393ba8 openobex-1.5.tar.bz2"
+md5sums="485734c0e5a6c4a7bd697a0989b67a56 openobex-1.6-Source.tar.gz"