wok-current view coreutils-character/receipt @ rev 22412
up xfce4 4.14.0/1 ; we've a mix of versions here 4.10/4.11... (requested in forum: http://forum.slitaz.org/topic/xfce-can-not-install )
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sat Dec 14 16:16:41 2019 +0000 (2019-12-14) |
parents | 6fab3264ba87 |
children | 9b6a3a5c1a07 |
line source
1 # SliTaz package receipt.
3 PACKAGE="coreutils-character"
4 VERSION="8.25"
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 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/expand
26 /usr/bin/tr
27 /usr/bin/unexpand
28 EOT
29 }
31 post_remove()
32 {
33 # Restore all Busybox applets that have been replaced
34 while read i; do
35 busybox ln -s /bin/busybox "$1$i"
36 done <<EOT
37 /usr/bin/expand
38 /usr/bin/tr
39 /usr/bin/unexpand
40 EOT
41 }