2006-02-23 16:26:10 +01:00
|
|
|
# Description: Show full path of commands
|
2020-06-04 16:56:32 +02:00
|
|
|
# URL: https://directory.fsf.org/wiki/Which
|
2007-01-23 18:25:18 +01:00
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
name=which
|
2015-03-22 16:02:49 +01:00
|
|
|
version=2.21
|
2015-07-25 20:44:08 +02:00
|
|
|
release=2
|
2020-06-04 16:56:32 +02:00
|
|
|
source=(https://ftpmirror.gnu.org/gnu/$name/$name-$version.tar.gz)
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
2015-07-25 20:44:08 +02:00
|
|
|
./configure --prefix=/usr
|
2006-02-23 16:26:10 +01:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2015-07-25 20:44:08 +02:00
|
|
|
rm -r $PKG/usr/share/info
|
2006-02-23 16:26:10 +01:00
|
|
|
}
|