wok view coreutils-character/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents 9b6a3a5c1a07
children
line source
1 # SliTaz package receipt.
3 PACKAGE="coreutils-character"
4 VERSION="9.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="GNU utilities that operate on characters."
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.gnu.org/software/coreutils/coreutils.html"
11 SUGGESTED="coreutils-lang"
12 DEPENDS="glibc-base"
13 WANTED="coreutils"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 # according to https://doc.slitaz.org/en:cookbook:wok
19 # Generally, the base packages contain no man, info or doc files
20 # mandir="$fs/usr/share/man/man1"
21 # mkdir -p $mandir
23 while read i
24 do
25 mkdir -p $fs$(dirname $i)
26 cp -a $install$i $fs$i
27 # find $install -name "$(basename $i).*" -exec cp -a \{\} $mandir \;
28 done <<EOT
29 /usr/bin/expand
30 /usr/bin/tr
31 /usr/bin/unexpand
32 EOT
33 }
35 post_remove()
36 {
37 # Restore all Busybox applets that have been replaced
38 while read i
39 do
40 busybox ln -s /bin/busybox "$1$i"
41 done <<EOT
42 /usr/bin/expand
43 /usr/bin/tr
44 /usr/bin/unexpand
45 EOT
46 }