wok view which/receipt @ rev 19229

Add httpfs2-fuse
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jun 24 16:28:42 2016 +0200 (2016-06-24)
parents 9e01bc6321ea
children 6135577f4d08
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 }