wok-next annotate coreutils-file-output-full/receipt @ rev 19561

Initial commit to wok-next (SliTaz v.6 now): update 61 packages (about) according to LFS 7.10
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 16 01:16:56 2016 +0200 (2016-12-16)
parents 1d0123efe74c
children
rev   line source
rcx@3662 1 # SliTaz package receipt.
rcx@3662 2
rcx@3662 3 PACKAGE="coreutils-file-output-full"
al@19215 4 VERSION="8.25"
rcx@3662 5 CATEGORY="system-tools"
rcx@3662 6 SHORT_DESC="GNU utilities that output entire files."
rcx@3662 7 MAINTAINER="rcx@zoominternet.net"
pascal@14999 8 LICENSE="GPL3"
al@19215 9 WEB_SITE="https://www.gnu.org/software/coreutils/coreutils.html"
al@19215 10
pascal@14999 11 WANTED="coreutils"
rcx@3662 12 DEPENDS="glibc-base"
rcx@3662 13
rcx@3662 14 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3662 15 genpkg_rules()
rcx@3662 16 {
al@19561 17 cook_copy_files cat base32 base64 nl od tac
al@19215 18 }
al@19215 19
al@19215 20 post_install()
al@19215 21 {
al@19215 22 # Remove Busybox applets in order to not clash with ("/bin", "/sbin",
al@19215 23 # "/usr/bin" and "/usr/sbin" conflicts with the same filename)
al@19561 24 rm "$1/bin/base64" # for /usr/bin/base64
rcx@3662 25 }
rcx@3662 26
rcx@3662 27 post_remove()
rcx@3662 28 {
al@19215 29 # Restore all Busybox applets that have been replaced
al@19215 30 while read i; do
al@19215 31 busybox ln -s /bin/busybox "$1$i"
al@19215 32 done <<EOT
al@19215 33 /bin/base64
al@19215 34 /bin/cat
al@19215 35 /usr/bin/od
al@19215 36 /usr/bin/tac
al@19215 37 EOT
rcx@3662 38 }