diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-10-29 13:35:15 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-10-29 13:43:46 +0000 |
commit | 937a9bc9fb5a085614ef597888e283df02daa087 (patch) | |
tree | 3f4cb1a704d0f2c0d177f1805f4fb0dd00f0cc77 | |
parent | 66a20b26abf0227bafcc178ebe106827c8d148ff (diff) | |
download | alpine_aports-937a9bc9fb5a085614ef597888e283df02daa087.tar.bz2 alpine_aports-937a9bc9fb5a085614ef597888e283df02daa087.tar.xz alpine_aports-937a9bc9fb5a085614ef597888e283df02daa087.zip |
main/openobex: upgrade to 1.7
-rw-r--r-- | main/openobex/APKBUILD | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/main/openobex/APKBUILD b/main/openobex/APKBUILD index bfdd3cc345..f2f67059b1 100644 --- a/main/openobex/APKBUILD +++ b/main/openobex/APKBUILD | |||
@@ -1,15 +1,16 @@ | |||
1 | # Maintainer: Natanael Copa <ncopa@alpinelinux.org> | 1 | # Maintainer: Natanael Copa <ncopa@alpinelinux.org> |
2 | pkgname=openobex | 2 | pkgname=openobex |
3 | pkgver=1.6 | 3 | pkgver=1.7 |
4 | pkgrel=0 | 4 | pkgrel=0 |
5 | pkgdesc="Implementation of the OBject EXchange (OBEX) protocol" | 5 | pkgdesc="Implementation of the OBject EXchange (OBEX) protocol" |
6 | url="http://dev.zuckschwerdt.org/openobex/" | 6 | url="http://dev.zuckschwerdt.org/openobex/" |
7 | arch="all" | 7 | arch="all" |
8 | license="GPL LGPL" | 8 | license="GPL LGPL" |
9 | depends= | 9 | depends= |
10 | depends_dev="libusb-compat-dev" | 10 | depends_dev="libusbx-dev" |
11 | makedepends="bluez-dev libusb-compat-dev" | 11 | makedepends="$depends_dev bluez-dev cmake udev-dev libxml2-utils |
12 | subpackages="$pkgname-dev libopenobex" | 12 | docbook-xsl" |
13 | subpackages="$pkgname-dev $pkgname-doc $pkgname-apps" | ||
13 | source="http://downloads.sourceforge.net/project/openobex/openobex/$pkgver/openobex-$pkgver-Source.tar.gz" | 14 | source="http://downloads.sourceforge.net/project/openobex/openobex/$pkgver/openobex-$pkgver-Source.tar.gz" |
14 | 15 | ||
15 | _builddir="$srcdir"/openobex-$pkgver-Source | 16 | _builddir="$srcdir"/openobex-$pkgver-Source |
@@ -21,27 +22,26 @@ prepare() { | |||
21 | 22 | ||
22 | build() { | 23 | build() { |
23 | cd "$_builddir" | 24 | cd "$_builddir" |
24 | ./configure \ | 25 | cmake \ |
25 | --build=$CBUILD \ | 26 | -DCMAKE_INSTALL_PREFIX=/usr \ |
26 | --host=$CHOST \ | 27 | -DCMAKE_INSTALL_LIBDIR=/usr/lib \ |
27 | --prefix=/usr \ | 28 | -DCMAKE_BUILD_TYPE=Release \ |
28 | --enable-apps \ | 29 | -DCMAKE_SKIP_RPATH=ON \ |
29 | --enable-irda \ | ||
30 | --enable-bluetooth \ | ||
31 | --enable-usb \ | ||
32 | || return 1 | 30 | || return 1 |
33 | make || return 1 | 31 | make && make openobex-apps || return 1 |
34 | } | 32 | } |
35 | 33 | ||
36 | package() { | 34 | package() { |
37 | cd "$_builddir" | 35 | cd "$_builddir" |
38 | make DESTDIR="$pkgdir" install || return 1 | 36 | make DESTDIR="$pkgdir" install || return 1 |
39 | rm "$pkgdir"/usr/lib/*.la | ||
40 | } | 37 | } |
41 | 38 | ||
42 | libopenobex() { | 39 | apps() { |
43 | mkdir -p "$subpkgdir"/usr/lib | 40 | pkgdesc="Applications for using OBEX" |
44 | mv "$pkgdir"/usr/lib/libopenobex.so.* "$subpkgdir"/usr/lib/ | 41 | mkdir -p "$subpkgdir"/usr |
42 | mv "$pkgdir"/usr/bin "$subpkgdir"/usr/ | ||
45 | } | 43 | } |
46 | 44 | ||
47 | md5sums="485734c0e5a6c4a7bd697a0989b67a56 openobex-1.6-Source.tar.gz" | 45 | md5sums="11031f6f0b876bb6259bd27106491528 openobex-1.7-Source.tar.gz" |
46 | sha256sums="48180469b85c9101ec17e55c9d9f28fafae0a44d5fe6b75c0be26964c5e19cdb openobex-1.7-Source.tar.gz" | ||
47 | sha512sums="2e1ebdbfdac24d7ad220362eb055d8790df60b45e5bdac87a1aaacfa52f30386995a2e9e0d37083fc4ceaf5c1231df973abe9e183511bb33c9d9a79194e5b6ea openobex-1.7-Source.tar.gz" | ||