wok-6.x view coreutils-conditions/receipt @ rev 19383
Up tazlito (429), htop (2.0.2)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Sat Aug 20 01:53:50 2016 +0200 (2016-08-20) |
parents | d6ca18366f41 |
children | 9b6a3a5c1a07 |
line source
1 # SliTaz package receipt.
3 PACKAGE="coreutils-conditions"
4 VERSION="8.25"
5 CATEGORY="system-tools"
6 SHORT_DESC="GNU utilities for conditions."
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 gmp"
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/false
26 /bin/true
27 /usr/bin/[
28 /usr/bin/expr
29 /usr/bin/test
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/false
40 /bin/true
41 /usr/bin/[
42 /usr/bin/expr
43 /usr/bin/test
44 EOT
45 }