1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#!/bin/sh MAKEDEPS="make " PKG_VER=2.21 SOURCE=http://ftp.gnu.org/gnu/which/which-$PKG_VER.tar.gz DESC="A utility to show the full path of commands" build () { CC=gcc ./configure --prefix=/usr make } package () { make DESTDIR=$PKG_DEST install }