wok-6.x view coreutils-directory/receipt @ rev 22400

update: expat 2.2.6 (2018) -> 2.2.9 (security fixes: CVE-2019-15903, CVE-2018-20843; ...) -> also, new site: the WGET_URL could be improved
author Erkan Yilmaz <erkan@slitaz.org>
date Sun Dec 08 11:10:33 2019 +0000 (2019-12-08)
parents 6fab3264ba87
children 9b6a3a5c1a07
line source
1 # SliTaz package receipt.
3 PACKAGE="coreutils-directory"
4 VERSION="8.25"
5 CATEGORY="system-tools"
6 SHORT_DESC="GNU utilities that list directories."
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 attr libcap"
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/ls
26 /usr/bin/dir
27 /usr/bin/dircolors
28 /usr/bin/vdir
29 EOT
30 }
32 post_remove()
33 {
34 # Restore all Busybox applets that have been replaced
35 while read i; do
36 busybox ln -s /bin/busybox "$1$i"
37 done <<EOT
38 /bin/ls
39 EOT
40 }