aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/obexftp/APKBUILD16
1 files changed, 11 insertions, 5 deletions
diff --git a/testing/obexftp/APKBUILD b/testing/obexftp/APKBUILD
index 49715ff1ac..bcde5b0c91 100644
--- a/testing/obexftp/APKBUILD
+++ b/testing/obexftp/APKBUILD
@@ -1,14 +1,14 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=obexftp
pkgver=0.23
-pkgrel=3
+pkgrel=4
pkgdesc="A tool for transfer files to/from any OBEX enabled device"
url="http://openobex.triq.net/obexftp/obexftp"
arch="all"
license="GPL"
depends=
-makedepends="pkgconfig openobex-dev bluez-dev"
-subpackages="$pkgname-dev $pkgname-doc libobexftp"
+makedepends="pkgconfig openobex-dev bluez-dev python-dev"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-libs py-$pkgname:py"
source="http://downloads.sourceforge.net/sourceforge/openobex/obexftp-$pkgver.tar.bz2
obexftp-0.23-gentoo.patch"
@@ -30,7 +30,7 @@ build() {
./configure --prefix=/usr \
--enable-bluetooth \
--disable-perl \
- --disable-python \
+ --enable-python \
--disable-ruby || return 1
make || return 1
}
@@ -41,11 +41,17 @@ package() {
rm "$pkgdir"/usr/lib/*.la
}
-libobexftp() {
+libs() {
pkgdesc="OBEX shared library"
mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/lib*.so.* "$subpkgdir"/usr/lib
}
+py() {
+ pkgdesc="Python library to access devices via the OBEX protocol"
+ mkdir -p "$subpkgdir"/usr/lib
+ mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/
+}
+
md5sums="f20762061b68bc921e80be4aebc349eb obexftp-0.23.tar.bz2
90b4fadb913673c339bbd04cebc4f9d2 obexftp-0.23-gentoo.patch"