summaryrefslogtreecommitdiffstats
path: root/which/Pkgfile
blob: fc7484c02218466912ceeab8a5f0a033c6c4e43a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
description="Show full path of commands"
packager="CRUX System Team <core-ports AT crux DOT nu>"
maintainer="Lukc <lukc AT upyum DOT com>"
url="http://www.xs4all.nl/~carlo17/which/"
depends=()

name=which
version=2.20
release=1
source=(http://www.xs4all.nl/~carlo17/$name/$name-$version.tar.gz)
build () 
{ 
	cd $name-$version;
	./configure \
		${CHOST:+--build=${CHOST}} \
		${CTARGET:+--host=${CTARGET}} \
		--prefix=$prefix \
		--mandir=$mandir;
	make;
	make DESTDIR=$PKG install;
}