wok-current annotate which/receipt @ rev 19214
Up tzdata(2016e)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jun 14 23:10:20 2016 +0300 (2016-06-14) |
parents | 9e01bc6321ea |
children | 6135577f4d08 |
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" |
slaxemulator@7340 | 10 WEB_SITE="http://www.xs4all.nl/~carlo17/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 } |