wok view coreutils-file-format/receipt @ rev 24069
Add some current_version()
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 06 11:01:20 2021 +0000 (2021-07-06) |
parents | 1d0123efe74c |
children | 3b252eb4d26a |
line source
1 # SliTaz package receipt.
3 PACKAGE="coreutils-file-format"
4 VERSION="8.31"
5 CATEGORY="system-tools"
6 SHORT_DESC="GNU utilities that format file contents."
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.gnu.org/software/coreutils/coreutils.html"
11 DEPENDS="glibc-base"
12 WANTED="coreutils"
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
21 do
22 mkdir -p $fs$(dirname $i)
23 cp -a $install$i $fs$i
24 find $install -name "$(basename $i).*" -exec cp -a \{\} $mandir \;
25 done <<EOT
26 /usr/bin/fmt
27 /usr/bin/fold
28 /usr/bin/pr
29 EOT
30 }
32 post_remove()
33 {
34 # Restore all Busybox applets that have been replaced
35 while read i
36 do
37 busybox ln -s /bin/busybox "$1$i"
38 done <<EOT
39 /usr/bin/fold
40 EOT
41 }