wok view which/receipt @ rev 22042

gcc83-lib-base: do NOT provide gcc-lib-base
Currently BOTH gcc-lib-base and gcc83-lib-base are installed on my SliTaz system. So, with the current (and longstanding) tazpkg limitations I can't update just gcc-lib-base: tazpkg always updates gcc83-lib-base for me instead. Now I can't run Firefox, Vivaldi, Chrome, etc. I think because of gcc-lib-base, but I not sure 1bsolutely.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 22 12:55:54 2019 +0300 (2019-10-22)
parents 6fab3264ba87
children cf4d5bcb351a
line source
1 # SliTaz package receipt.
3 PACKAGE="which"
4 VERSION="2.20"
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://savannah.gnu.org/projects/which/"
11 WGET_URL="http://www.xs4all.nl/~carlo17/$PACKAGE/$TARBALL"
13 DEPENDS="glibc-base"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make && make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/bin $fs/usr
31 }
33 post_remove()
34 {
35 ln -s /bin/busybox /usr/bin/which
36 }