diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-10-09 10:50:53 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-10-09 10:50:53 +0000 |
commit | 54401251a9fcd4355eb45150117879870e4b0318 (patch) | |
tree | 6572777d7b20152371fa857e5d02208b3e941b40 /testing/obexftp/APKBUILD | |
parent | 9481c1fe73aae1b2a3846e65c283113a73f13bed (diff) | |
download | aports-54401251a9fcd4355eb45150117879870e4b0318.tar.bz2 aports-54401251a9fcd4355eb45150117879870e4b0318.tar.xz |
testing/obexftp: enable python module
Diffstat (limited to 'testing/obexftp/APKBUILD')
-rw-r--r-- | testing/obexftp/APKBUILD | 16 |
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" |