wok diff coreutils-redirection/receipt @ rev 3803

Add: icedtea6 (1.5)
author Matthew Sheets <rcx@zoominternet.net>
date Tue Aug 04 16:34:27 2009 +0000 (2009-08-04)
parents
children 11129d96133c
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/coreutils-redirection/receipt	Tue Aug 04 16:34:27 2009 +0000
     1.3 @@ -0,0 +1,40 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="coreutils-redirection"
     1.7 +VERSION="7.4"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="GNU utilities that work with disks."
    1.10 +MAINTAINER="rcx@zoominternet.net"
    1.11 +WEB_SITE="http://www.gnu.org/software/coreutils/"
    1.12 +DEPENDS="glibc-base"
    1.13 +WANTED="coreutils"
    1.14 +
    1.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 +#
    1.17 +# This is a special package for installed system or developer. We only take
    1.18 +# a few things, as Busybox provides all the basic utilities, but not for compiling.
    1.19 +# But DO NOT erase a Busybox applet, remove it before with pre_install rules.
    1.20 +#
    1.21 +genpkg_rules()
    1.22 +{
    1.23 +	mkdir -p $fs/usr/bin
    1.24 +	cp -a $_pkg/usr/bin/tee $fs/usr/bin
    1.25 +}
    1.26 +
    1.27 +# Pre and post install commands for Tazpkg.
    1.28 +# We must remove all Busybox symlink before installing.
    1.29 +#
    1.30 +pre_install()
    1.31 +{
    1.32 +	local root
    1.33 +	root=$1
    1.34 +	echo "Processing pre-install commands..."
    1.35 +	echo -n "Removing all Busybox replaced utils... "
    1.36 +	rm -f $root/usr/bin/tee
    1.37 +	status
    1.38 +}
    1.39 +
    1.40 +post_remove()
    1.41 +{
    1.42 +	ln -s /bin/busybox /usr/bin/tee
    1.43 +}