wok-current view which/receipt @ rev 22421

I see these >10 packages also got version updates due to xfce 4.12.0
author Erkan Yilmaz <erkan@slitaz.org>
date Sun Dec 15 09:13:38 2019 +0000 (2019-12-15)
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 }