wok view which/receipt @ rev 21462
updated mm-common (0.9.4 -> 0.9.12)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 30 13:55:53 2019 +0100 (2019-04-30) |
parents | 6fab3264ba87 |
children | cf4d5bcb351a |
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="https://savannah.gnu.org/projects/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 }