wok-6.x view 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 |
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 }