wok-next view which/receipt @ rev 19474

Up make-slitaz-icons (161031)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Nov 01 02:58:15 2016 +0200 (2016-11-01)
parents 9e01bc6321ea
children 4048d48a47c1
line source
1 # SliTaz package receipt.
3 PACKAGE="which"
4 VERSION="2.20"
5 CATEGORY="base-system"
6 SHORT_DESC="A utility to show the full path of commands"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.xs4all.nl/~carlo17/which"
11 WGET_URL="http://www.xs4all.nl/~carlo17/$PACKAGE/$TARBALL"
13 DEPENDS="glibc-base"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make && make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/bin $fs/usr
31 }
33 post_remove()
34 {
35 ln -s /bin/busybox /usr/bin/which
36 }