wok-6.x annotate which/receipt @ rev 22182
ruby-ncurses: added glibc-dev to BUILD_DEPENDS
author | Hans-G?nter Theisgen |
---|---|
date | Sun Nov 10 16:17:01 2019 +0100 (2019-11-10) |
parents | 6135577f4d08 |
children | 71360a13cd94 |
rev | line source |
---|---|
slaxemulator@7340 | 1 # SliTaz package receipt. |
slaxemulator@7340 | 2 |
slaxemulator@7340 | 3 PACKAGE="which" |
Hans-G?nter@22127 | 4 VERSION="2.21" |
slaxemulator@7340 | 5 CATEGORY="base-system" |
Hans-G?nter@22127 | 6 SHORT_DESC="A utility to show the full path of commands." |
slaxemulator@7340 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15201 | 8 LICENSE="GPL3" |
Hans-G?nter@22127 | 9 WEB_SITE="https://savannah.gnu.org/projects/which/" |
Hans-G?nter@22127 | 10 |
slaxemulator@7340 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22127 | 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
slaxemulator@7340 | 13 |
pascal@14999 | 14 DEPENDS="glibc-base" |
pascal@14999 | 15 |
slaxemulator@7340 | 16 # Rules to configure and make the package. |
slaxemulator@7340 | 17 compile_rules() |
slaxemulator@7340 | 18 { |
Hans-G?nter@22127 | 19 ./configure \ |
Hans-G?nter@22127 | 20 --prefix=/usr \ |
Hans-G?nter@22127 | 21 --infodir=/usr/share/info \ |
Hans-G?nter@22127 | 22 --mandir=/usr/share/man \ |
slaxemulator@7340 | 23 $CONFIGURE_ARGS && |
Hans-G?nter@22127 | 24 make && |
Hans-G?nter@22127 | 25 make DESTDIR=$DESTDIR install |
slaxemulator@7340 | 26 } |
slaxemulator@7340 | 27 |
slaxemulator@7340 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7340 | 29 genpkg_rules() |
slaxemulator@7340 | 30 { |
slaxemulator@7340 | 31 mkdir -p $fs/usr |
pascal@14999 | 32 cp -a $install/usr/bin $fs/usr |
slaxemulator@7340 | 33 } |
slaxemulator@7340 | 34 |
slaxemulator@7340 | 35 post_remove() |
slaxemulator@7340 | 36 { |
slaxemulator@7340 | 37 ln -s /bin/busybox /usr/bin/which |
al@18741 | 38 } |