Commit | Line | Data |
---|---|---|
6dca1d21 JB |
1 | # Description: Show full path of commands |
2 | # URL: http://www.xs4all.nl/~carlo17/which/ | |
3 | # Maintainer: CRUX System Team, core-ports at crux dot nu | |
4 | # Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org | |
5 | ||
6 | name=which | |
7 | version=2.20 | |
8 | release=1 | |
9 | source=(http://www.xs4all.nl/~carlo17/which/$name-$version.tar.gz) | |
10 | ||
11 | build() { | |
12 | cd $name-$version | |
13 | ./configure --build=$CHOST \ | |
14 | --host=$CTARGET \ | |
15 | --prefix=/usr \ | |
16 | --mandir=/usr/man | |
17 | make | |
18 | make DESTDIR=$PKG install | |
19 | rm -r $PKG/usr/share | |
20 | } |