wok view coreutils-redirection/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 d6ca18366f41
children 9b6a3a5c1a07
line source
1 # SliTaz package receipt.
3 PACKAGE="coreutils-redirection"
4 VERSION="8.25"
5 CATEGORY="system-tools"
6 SHORT_DESC="GNU utilities that work with disks."
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.gnu.org/software/coreutils/coreutils.html"
11 WANTED="coreutils"
12 DEPENDS="glibc-base"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mandir="$fs/usr/share/man/man1"
18 mkdir -p $mandir
20 while read i; do
21 mkdir -p $fs$(dirname $i)
22 cp -a $install$i $fs$i
23 find $install -name "$(basename $i).*" -exec cp -a \{\} $mandir \;
24 done <<EOT
25 /usr/bin/tee
26 EOT
27 }
29 post_remove()
30 {
31 # Restore all Busybox applets that have been replaced
32 while read i; do
33 busybox ln -s /bin/busybox "$1$i"
34 done <<EOT
35 /usr/bin/tee
36 EOT
37 }