wok-next view coreutils-file-special/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
line source
1 # SliTaz package receipt.
3 PACKAGE="coreutils-file-special"
4 VERSION="8.25"
5 CATEGORY="system-tools"
6 SHORT_DESC="GNU utilities that work with special file types."
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 ln mkdir mknod rmdir link mkfifo mktemp readlink realpath \
18 unlink
19 }
21 post_install()
22 {
23 # Remove Busybox applets in order to not clash with ("/bin", "/sbin",
24 # "/usr/bin" and "/usr/sbin" conflicts with the same filename)
25 rm "$1/bin/mktemp" # for /usr/bin/mktemp
26 }
28 post_remove()
29 {
30 # Restore all Busybox applets that have been replaced
31 while read i; do
32 busybox ln -s /bin/busybox "$1$i"
33 done <<EOT
34 /bin/ln
35 /bin/mkdir
36 /bin/mknod
37 /bin/mktemp
38 /bin/rmdir
39 /usr/bin/mkfifo
40 /usr/bin/realpath
41 EOT
42 }