wok-current view coreutils-operations/receipt @ rev 20085
also update libssl: from: 1.0.2k [26 Jan 2017] to 1.0.2l [25 May 2017], see: http://hg.slitaz.org/wok/rev/90fcaa823068
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Wed Sep 27 22:18:42 2017 +0000 (2017-09-27) |
parents | 9e01bc6321ea |
children | 9b6a3a5c1a07 |
line source
1 # SliTaz package receipt.
3 PACKAGE="coreutils-operations"
4 VERSION="8.25"
5 CATEGORY="system-tools"
6 SHORT_DESC="GNU utilities that perform basic operations."
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 acl attr"
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 /bin/cp
26 /bin/dd
27 /bin/mv
28 /usr/bin/install
29 /usr/bin/shred
30 EOT
31 }
33 post_remove()
34 {
35 # Restore all Busybox applets that have been replaced
36 while read i; do
37 busybox ln -s /bin/busybox "$1$i"
38 done <<EOT
39 /bin/cp
40 /bin/dd
41 /bin/mv
42 /usr/bin/install
43 EOT
44 }