summaryrefslogtreecommitdiffstats
path: root/which/Pkgfile.old
blob: 8db6bcb5a0d85217ea3b80885ad8d5cb9acd5213 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Description: Show full path of commands
# URL:         http://www.xs4all.nl/~carlo17/which/
# Maintainer:  CRUX System Team, core-ports at crux dot nu

name=which
version=2.20
release=1
source=(http://www.xs4all.nl/~carlo17/which/$name-$version.tar.gz)

build() {
    cd $name-$version
    ./configure --prefix=/usr --mandir=/usr/man
    make
    make DESTDIR=$PKG install
    rm -r $PKG/usr/share
}