diff options
author | William Pitcock <nenolod@dereferenced.org> | 2011-01-25 20:59:59 -0600 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-01-25 20:59:59 -0600 |
commit | daf268baf10f53258168866f3d169dadf7e3740d (patch) | |
tree | 1ab40fe16e28499ed0f032048ac2298d6e47b80e /testing/fts/APKBUILD | |
parent | 91e0b79a67a9fd07431cf36931a33050a58fe8dd (diff) | |
download | aports-daf268baf10f53258168866f3d169dadf7e3740d.tar.bz2 aports-daf268baf10f53258168866f3d169dadf7e3740d.tar.xz |
testing/fts: promote to main
Diffstat (limited to 'testing/fts/APKBUILD')
-rw-r--r-- | testing/fts/APKBUILD | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/testing/fts/APKBUILD b/testing/fts/APKBUILD deleted file mode 100644 index ef76582937..0000000000 --- a/testing/fts/APKBUILD +++ /dev/null @@ -1,52 +0,0 @@ -# Contributor: William Pitcock <nenolod@dereferenced.org> -# Maintainer: William Pitcock <nenolod@dereferenced.org> -pkgname=fts -pkgver=0 -pkgrel=2 -pkgdesc="keith bostic's POSIX file tree stream operations library" -url="http://bostic.com/" -arch="all" -license="BSD" -depends= -depends_dev= -makedepends="$depends_dev wget" -install="" -subpackages="$pkgname-dev $pkgname-doc" -source="saveas-https://sites.google.com/a/bostic.com/keithbostic/files/fts.tar.gz?attredirects=0/fts.tar.gz - fts-uclibc.patch - fts-header-correctness.patch" - -_builddir="${srcdir}/${pkgname}" -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" - gcc -I. -fPIC -shared -o libfts.so -Wl,-soname,libfts.so.${pkgver} fts.c -} - -package() { - cd "$_builddir" - - install -d "$pkgdir"/usr/lib - - install -m 755 libfts.so "$pkgdir"/usr/lib/libfts.so.${pkgver} - ln -sf libfts.so.${pkgver} "$pkgdir"/usr/lib/libfts.so - - install -d "$pkgdir"/usr/include - install -m 644 fts.h "$pkgdir"/usr/include/fts.h - - install -d "$pkgdir"/usr/share/man/man3 - install -m 644 fts.3 "$pkgdir"/usr/share/man/man3/fts.3 -} - -md5sums="120c14715485ec6ced14f494d059d20a fts.tar.gz -588fead4044bf535ff97298651aaab8f fts-uclibc.patch -b197744ece4ef9a5fa52692acf9b6666 fts-header-correctness.patch" |