diff options
Diffstat (limited to 'testing/obexftp/APKBUILD')
-rw-r--r-- | testing/obexftp/APKBUILD | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/testing/obexftp/APKBUILD b/testing/obexftp/APKBUILD deleted file mode 100644 index bcde5b0c91..0000000000 --- a/testing/obexftp/APKBUILD +++ /dev/null @@ -1,57 +0,0 @@ -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=obexftp -pkgver=0.23 -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 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" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - cd "$_builddir" - for i in $source; do - case "$i" in - *.patch) - msg "Applying $i" - patch -p1 -i "$srcdir"/$i || return 1 - ;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --enable-bluetooth \ - --disable-perl \ - --enable-python \ - --disable-ruby || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - rm "$pkgdir"/usr/lib/*.la -} - -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" |