wok-6.x view coreutils-numeric/receipt @ rev 20102
Add plsh & pypdf2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 09 13:07:28 2017 +0200 (2017-10-09) |
parents | 6fab3264ba87 |
children | 9b6a3a5c1a07 |
line source
1 # SliTaz package receipt.
3 PACKAGE="coreutils-numeric"
4 VERSION="8.25"
5 CATEGORY="system-tools"
6 SHORT_DESC="GNU numeric utilities."
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 /usr/bin/factor
26 /usr/bin/seq
27 EOT
28 }
30 post_remove()
31 {
32 # Restore all Busybox applets that have been replaced
33 while read i; do
34 busybox ln -s /bin/busybox "$1$i"
35 done <<EOT
36 /usr/bin/seq
37 EOT
38 }