aboutsummaryrefslogtreecommitdiffstats
path: root/testing/which
diff options
context:
space:
mode:
authorStuart Cardall <developer@it-offshore.co.uk>2016-04-12 17:00:34 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-04-13 06:49:05 +0000
commitf20f34e508c160e5ffadc1159290f1437e624fe1 (patch)
treec27e906b61edf0ffec8dc010b1d08a8dc3c71ef6 /testing/which
parentd103dd2e92d0abf65844af5afe026c409fc42000 (diff)
downloadaports-f20f34e508c160e5ffadc1159290f1437e624fe1.tar.bz2
aports-f20f34e508c160e5ffadc1159290f1437e624fe1.tar.xz
testing/which: new aport
closes https://bugs.alpinelinux.org/issues/5402
Diffstat (limited to 'testing/which')
-rw-r--r--testing/which/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/which/APKBUILD b/testing/which/APKBUILD
new file mode 100644
index 0000000000..1f40f5ad0e
--- /dev/null
+++ b/testing/which/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
+# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
+pkgname=which
+pkgver=2.21
+pkgrel=0
+pkgdesc="A utility to show the full path of commands"
+url="http://savannah.gnu.org/projects/which"
+arch="all"
+license="GPL3"
+depends=""
+depends_dev=""
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-doc"
+source="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz"
+
+builddir="$srcdir"/$pkgname-$pkgver
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="097ff1a324ae02e0a3b0369f07a7544a which-2.21.tar.gz"
+sha256sums="f4a245b94124b377d8b49646bf421f9155d36aa7614b6ebf83705d3ffc76eaad which-2.21.tar.gz"
+sha512sums="d2f04a5c5291f2d7d1226982da7cf999d36cfe24d3f7bda145508efcfb359511251d3c68b860c0ddcedd66b15a0587b648a35ab6d1f173707565305c506dfc61 which-2.21.tar.gz"