wok annotate which/receipt @ rev 21724

updated ptxdist again (2012.03.0 -> 2019.06.0)
author Hans-G?nter Theisgen
date Wed Jun 12 15:14:06 2019 +0100 (2019-06-12)
parents 6fab3264ba87
children cf4d5bcb351a
rev   line source
slaxemulator@7340 1 # SliTaz package receipt.
slaxemulator@7340 2
slaxemulator@7340 3 PACKAGE="which"
slaxemulator@7340 4 VERSION="2.20"
slaxemulator@7340 5 CATEGORY="base-system"
slaxemulator@7340 6 SHORT_DESC="A utility to show the full path of commands"
slaxemulator@7340 7 MAINTAINER="slaxemulator@gmail.com"
pascal@15201 8 LICENSE="GPL3"
slaxemulator@7340 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20679 10 WEB_SITE="https://savannah.gnu.org/projects/which/"
slaxemulator@7340 11 WGET_URL="http://www.xs4all.nl/~carlo17/$PACKAGE/$TARBALL"
slaxemulator@7340 12
pascal@14999 13 DEPENDS="glibc-base"
pascal@14999 14
slaxemulator@7340 15 # Rules to configure and make the package.
slaxemulator@7340 16 compile_rules()
slaxemulator@7340 17 {
slaxemulator@7340 18 ./configure \
slaxemulator@7340 19 --prefix=/usr \
slaxemulator@7340 20 --infodir=/usr/share/info \
slaxemulator@7340 21 --mandir=/usr/share/man \
slaxemulator@7340 22 $CONFIGURE_ARGS &&
pascal@14999 23 make && make DESTDIR=$DESTDIR install
slaxemulator@7340 24 }
slaxemulator@7340 25
slaxemulator@7340 26 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7340 27 genpkg_rules()
slaxemulator@7340 28 {
slaxemulator@7340 29 mkdir -p $fs/usr
pascal@14999 30 cp -a $install/usr/bin $fs/usr
slaxemulator@7340 31 }
slaxemulator@7340 32
slaxemulator@7340 33 post_remove()
slaxemulator@7340 34 {
slaxemulator@7340 35 ln -s /bin/busybox /usr/bin/which
al@18741 36 }