mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-06 08:22:28 +01:00
35 lines
742 B
Plaintext
35 lines
742 B
Plaintext
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
|
|
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
|
|
pkgname=which
|
|
pkgver=2.21
|
|
pkgrel=2
|
|
pkgdesc="A utility to show the full path of commands"
|
|
url="https://savannah.gnu.org/projects/which"
|
|
arch="all"
|
|
license="GPL-3.0"
|
|
subpackages="$pkgname-doc"
|
|
source="https://ftp.gnu.org/gnu/which/which-$pkgver.tar.gz"
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
d2f04a5c5291f2d7d1226982da7cf999d36cfe24d3f7bda145508efcfb359511251d3c68b860c0ddcedd66b15a0587b648a35ab6d1f173707565305c506dfc61 which-2.21.tar.gz
|
|
"
|