wok-next view coreutils-file-output-full/receipt @ rev 19710
Up perl-html-tree (avoid dependency loop)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu May 11 04:40:46 2017 +0300 (2017-05-11) |
parents | 1d0123efe74c |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="coreutils-file-output-full"
4 VERSION="8.25"
5 CATEGORY="system-tools"
6 SHORT_DESC="GNU utilities that output entire files."
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"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 cook_copy_files cat base32 base64 nl od tac
18 }
20 post_install()
21 {
22 # Remove Busybox applets in order to not clash with ("/bin", "/sbin",
23 # "/usr/bin" and "/usr/sbin" conflicts with the same filename)
24 rm "$1/bin/base64" # for /usr/bin/base64
25 }
27 post_remove()
28 {
29 # Restore all Busybox applets that have been replaced
30 while read i; do
31 busybox ln -s /bin/busybox "$1$i"
32 done <<EOT
33 /bin/base64
34 /bin/cat
35 /usr/bin/od
36 /usr/bin/tac
37 EOT
38 }