wok view coreutils-operations/receipt @ rev 19145

mpv: add EXTRA_SOURCE_FILES
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 19 16:16:54 2016 +0200 (2016-05-19)
parents 124c3a7da04f
children 1d0123efe74c
line source
1 # SliTaz package receipt.
3 PACKAGE="coreutils-operations"
4 VERSION="8.12"
5 CATEGORY="system-tools"
6 SHORT_DESC="GNU utilities that perform basic operations."
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.gnu.org/software/coreutils/"
10 WANTED="coreutils"
12 DEPENDS="glibc-base acl"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 #
16 # This is a special package for installed system or developer. We only take
17 # a few things, as Busybox provides all the basic utilities, but not for compiling.
18 #
19 genpkg_rules()
20 {
21 mkdir -p $fs/bin
22 #cp -a $install/usr/bin/cp $fs/bin
23 cp -a $install/usr/bin/dd $fs/bin
24 cp -a $install/usr/bin/mv $fs/bin
25 cp -a $install/usr/bin/ln $fs/bin
26 #cp -a $install/usr/bin/rm $fs/bin
28 mkdir -p $fs/usr/bin
29 cp -a $install/usr/bin/install $fs/usr/bin
30 cp -a $install/usr/bin/shred $fs/usr/bin
31 }
33 post_remove()
34 {
35 # use busybox ln applet directly since /bin/ln
36 # in this package is remove already
37 # /bin/busybox ln -fs /bin/busybox "$1/bin/cp"
38 /bin/busybox ln -fs /bin/busybox "$1/bin/dd"
39 /bin/busybox ln -fs /bin/busybox "$1/bin/mv"
40 /bin/busybox ln -fs /bin/busybox "$1/bin/ln"
41 # /bin/busybox ln -fs /bin/busybox "$1/bin/rm"
42 /bin/busybox ln -fs /bin/busybox "$1/usr/bin/install"
43 }