wok view which/receipt @ rev 22760
updated findutils (4.6.0 -> 4.7.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jan 24 17:10:12 2020 +0100 (2020-01-24) |
parents | 6135577f4d08 |
children | 71360a13cd94 |
line source
1 # SliTaz package receipt.
3 PACKAGE="which"
4 VERSION="2.21"
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 WEB_SITE="https://savannah.gnu.org/projects/which/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="glibc-base"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $install/usr/bin $fs/usr
33 }
35 post_remove()
36 {
37 ln -s /bin/busybox /usr/bin/which
38 }