diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2013-11-04 10:32:33 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-11-20 10:27:28 +0000 |
commit | 2c030507d010b60fbd1dc4950b934b9d581271dc (patch) | |
tree | 242b373da31f3563d6c79a405d74c14fa067ba9d /testing/prwd/APKBUILD | |
parent | eec41f26e19018f1ed5bb0313c1939be285f56a0 (diff) | |
download | aports-2c030507d010b60fbd1dc4950b934b9d581271dc.tar.bz2 aports-2c030507d010b60fbd1dc4950b934b9d581271dc.tar.xz |
testing/prwd: new aport
A tool can print reduced working directory
http://tamentis.com/projects/prwd/
Diffstat (limited to 'testing/prwd/APKBUILD')
-rw-r--r-- | testing/prwd/APKBUILD | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/testing/prwd/APKBUILD b/testing/prwd/APKBUILD new file mode 100644 index 0000000000..c976de1dd9 --- /dev/null +++ b/testing/prwd/APKBUILD @@ -0,0 +1,50 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=prwd +pkgver=1.8 +pkgrel=0 +pkgdesc="A tool can print reduced working directory" +url="http://tamentis.com/projects/prwd/" +arch="all" +license="BSD" +depends="" +depends_dev="" +makedepends="$depends_dev" +install="" +subpackages="" +source="$pkgname-$pkgver.tar.gz::https://github.com/tamentis/prwd/archive/v$pkgver.tar.gz" + +_builddir="$srcdir"/$pkgname-$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" + ./configure\ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="904bba51ee14a355b85a583769cb23a5 prwd-1.8.tar.gz" +sha256sums="af98328ed3d605008f820d865676311d57e985d73f74b020d1d8a81028f66d04 prwd-1.8.tar.gz" +sha512sums="d6792096b4a28a41f9d9797d15639efe067eaa733a65b57a9e54786d10fb82ef59ee3f95742f3b377a8c1b3a2d00d1df7937c6b67ac492debd9b39ade5756c2a prwd-1.8.tar.gz" |