summaryrefslogtreecommitdiffstats
path: root/main/openobex
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-10-29 13:35:15 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-10-29 13:43:46 +0000
commit937a9bc9fb5a085614ef597888e283df02daa087 (patch)
tree3f4cb1a704d0f2c0d177f1805f4fb0dd00f0cc77 /main/openobex
parent66a20b26abf0227bafcc178ebe106827c8d148ff (diff)
downloadaports-937a9bc9fb5a085614ef597888e283df02daa087.tar.bz2
aports-937a9bc9fb5a085614ef597888e283df02daa087.tar.xz
main/openobex: upgrade to 1.7
Diffstat (limited to 'main/openobex')
-rw-r--r--main/openobex/APKBUILD36
1 files changed, 18 insertions, 18 deletions
diff --git a/main/openobex/APKBUILD b/main/openobex/APKBUILD
index bfdd3cc34..f2f67059b 100644
--- a/main/openobex/APKBUILD
+++ b/main/openobex/APKBUILD
@@ -1,15 +1,16 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=openobex
-pkgver=1.6
+pkgver=1.7
pkgrel=0
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"
+depends_dev="libusbx-dev"
+makedepends="$depends_dev bluez-dev cmake udev-dev libxml2-utils
+ docbook-xsl"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-apps"
source="http://downloads.sourceforge.net/project/openobex/openobex/$pkgver/openobex-$pkgver-Source.tar.gz"
_builddir="$srcdir"/openobex-$pkgver-Source
@@ -21,27 +22,26 @@ prepare() {
build() {
cd "$_builddir"
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
- --prefix=/usr \
- --enable-apps \
- --enable-irda \
- --enable-bluetooth \
- --enable-usb \
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_SKIP_RPATH=ON \
|| return 1
- make || return 1
+ make && make openobex-apps || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
- rm "$pkgdir"/usr/lib/*.la
}
-libopenobex() {
- mkdir -p "$subpkgdir"/usr/lib
- mv "$pkgdir"/usr/lib/libopenobex.so.* "$subpkgdir"/usr/lib/
+apps() {
+ pkgdesc="Applications for using OBEX"
+ mkdir -p "$subpkgdir"/usr
+ mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
}
-md5sums="485734c0e5a6c4a7bd697a0989b67a56 openobex-1.6-Source.tar.gz"
+md5sums="11031f6f0b876bb6259bd27106491528 openobex-1.7-Source.tar.gz"
+sha256sums="48180469b85c9101ec17e55c9d9f28fafae0a44d5fe6b75c0be26964c5e19cdb openobex-1.7-Source.tar.gz"
+sha512sums="2e1ebdbfdac24d7ad220362eb055d8790df60b45e5bdac87a1aaacfa52f30386995a2e9e0d37083fc4ceaf5c1231df973abe9e183511bb33c9d9a79194e5b6ea openobex-1.7-Source.tar.gz"