2006-02-23 16:26:10 +01:00
|
|
|
# Description: Show full path of commands
|
2014-06-13 19:11:43 +02:00
|
|
|
# URL: http://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
|
2008-08-07 10:26:08 +02:00
|
|
|
version=2.20
|
2006-02-23 16:26:10 +01:00
|
|
|
release=1
|
2014-06-13 19:11:43 +02:00
|
|
|
source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
2007-10-11 09:18:33 +02:00
|
|
|
./configure --prefix=/usr --mandir=/usr/man
|
2006-02-23 16:26:10 +01:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2007-10-11 09:18:33 +02:00
|
|
|
rm -r $PKG/usr/share
|
2006-02-23 16:26:10 +01:00
|
|
|
}
|