diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2013-01-07 23:07:13 +0100 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2013-01-07 23:12:43 +0100 |
commit | 59b52325609f16ef7f31d141d1234c345575ddc6 (patch) | |
tree | 3b5450e531762c8a8a584a2aba769238b53eaf8c /main/afpfs-ng/APKBUILD | |
parent | f9d6e74ab13741f91ede4875571b2ec75f1f5a15 (diff) | |
download | aports-59b52325609f16ef7f31d141d1234c345575ddc6.tar.bz2 aports-59b52325609f16ef7f31d141d1234c345575ddc6.tar.xz |
testing/afpfs-ng: move to main
Diffstat (limited to 'main/afpfs-ng/APKBUILD')
-rw-r--r-- | main/afpfs-ng/APKBUILD | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/main/afpfs-ng/APKBUILD b/main/afpfs-ng/APKBUILD new file mode 100644 index 0000000000..67c174ef71 --- /dev/null +++ b/main/afpfs-ng/APKBUILD @@ -0,0 +1,69 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=afpfs-ng +pkgver=0.8.1 +pkgrel=0 +pkgdesc="A client for the Apple Filing Protocol (AFP)" +url="http://alexthepuffin.googlepages.com/" +arch="all" +license="GPL" +depends="" +depends_dev="libgcrypt-dev libiconv-dev readline-dev ncurses-dev" +makedepends="$depends_dev autoconf automake libtool" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="http://downloads.sourceforge.net/sourceforge/afpfs-ng/afpfs-ng-$pkgver.tar.bz2 + 00-afpfs-ng-0.8.1-fix_afpfs-ng_includes.patch + 01-afpfs-ng-0.8.1-gcrypt.patch + 02-afpfs-ng-0.8.1-pointer.patch + 03-afpfs-ng-0.8.1-boxee1.patch + 04-afpfs-ng-0.8.1-boxee2.patch + 05-afpfs-ng-0.8.1-boxee3.patch + 06-afpfs-ng-0.8.1-boxee4.patch + 07-afpfs-ng-0.8.1-boxee5.patch + 08-afpfs-ng-0.8.1-fix-errno.patch + 09-afpfs-ng-0.8.1-fix-stat.patch" + +_builddir="$srcdir"/afpfs-ng-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + autoreconf -vif || return 1 + export LDFLAGS="$LDFLAGS -liconv" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --enable-gcrypt \ + --disable-fuse \ + || return 1 + make -j1 || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="1bdd9f8a06e6085ea4cc38ce010ef60b afpfs-ng-0.8.1.tar.bz2 +58abc3987e173131e655767a49a18530 00-afpfs-ng-0.8.1-fix_afpfs-ng_includes.patch +2a1d7a0147bd089c92ba741dc73b88e4 01-afpfs-ng-0.8.1-gcrypt.patch +b9c9596339c25c104c0241fe06826ca8 02-afpfs-ng-0.8.1-pointer.patch +44fc84e69a0f61192f0d3fd33016b719 03-afpfs-ng-0.8.1-boxee1.patch +1bd7aaa364309bc1b57c6314c8e262f0 04-afpfs-ng-0.8.1-boxee2.patch +43ec7eafc6c3b94d1fe0d7a27ff8650e 05-afpfs-ng-0.8.1-boxee3.patch +e7355dffc31cd9ce10bb968994eb15f6 06-afpfs-ng-0.8.1-boxee4.patch +34b6385ca2fd96caeac807581c4d169f 07-afpfs-ng-0.8.1-boxee5.patch +eecc51996ab49a578f760b586106c16b 08-afpfs-ng-0.8.1-fix-errno.patch +2520ba3a39a97d2d29ee65767a1007ec 09-afpfs-ng-0.8.1-fix-stat.patch" |