wok-next rev 3662

Add: coreutils (all coreutils packaged in groups by function)
author Matthew Sheets <rcx@zoominternet.net>
date Wed Jul 08 15:50:51 2009 +0000 (2009-07-08)
parents 759a344ac7ab
children 495272e1b6f6
files coreutils-character/receipt coreutils-command/receipt coreutils-conditions/receipt coreutils-context-system/receipt coreutils-context-user/receipt coreutils-context-working/receipt coreutils-directory/receipt coreutils-disk/receipt coreutils-file-attributes/receipt coreutils-file-format/receipt coreutils-file-output-full/receipt coreutils-file-output-part/receipt coreutils-file-sort/receipt coreutils-file-special/receipt coreutils-file-summarize/receipt coreutils-line/receipt coreutils-numeric/receipt coreutils-operations/receipt coreutils-path/receipt coreutils-print/receipt coreutils-redirection/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/coreutils-character/receipt	Wed Jul 08 15:50:51 2009 +0000
     1.3 @@ -0,0 +1,44 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="coreutils-character"
     1.7 +VERSION="7.4"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="GNU utilities that operate on characters."
    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/tr $fs/usr/bin
    1.25 +	cp -a $_pkg/usr/bin/expand $fs/usr/bin
    1.26 +	cp -a $_pkg/usr/bin/unexpand $fs/usr/bin
    1.27 +}
    1.28 +
    1.29 +# Pre and post install commands for Tazpkg.
    1.30 +# We must remove all Busybox symlink before installing.
    1.31 +#
    1.32 +pre_install()
    1.33 +{
    1.34 +	local root
    1.35 +	root=$1
    1.36 +	echo "Processing pre-install commands..."
    1.37 +	echo -n "Removing all Busybox replaced utils... "
    1.38 +	rm -f $root/usr/bin/tr $root/usr/bin/expand $root/usr/bin/unexpand
    1.39 +	status
    1.40 +}
    1.41 +
    1.42 +post_remove()
    1.43 +{
    1.44 +	ln -s /bin/busybox /usr/bin/tr
    1.45 +	ln -s /bin/busybox /usr/bin/expand
    1.46 +	ln -s /bin/busybox /usr/bin/unexpand
    1.47 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/coreutils-command/receipt	Wed Jul 08 15:50:51 2009 +0000
     2.3 @@ -0,0 +1,57 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="coreutils-command"
     2.7 +VERSION="7.4"
     2.8 +CATEGORY="system-tools"
     2.9 +SHORT_DESC="GNU command utilities."
    2.10 +MAINTAINER="rcx@zoominternet.net"
    2.11 +WEB_SITE="http://www.gnu.org/software/coreutils/"
    2.12 +DEPENDS="glibc-base"
    2.13 +WANTED="coreutils"
    2.14 +
    2.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.16 +#
    2.17 +# This is a special package for installed system or developer. We only take
    2.18 +# a few things, as Busybox provides all the basic utilities, but not for compiling.
    2.19 +# But DO NOT erase a Busybox applet, remove it before with pre_install rules.
    2.20 +#
    2.21 +genpkg_rules()
    2.22 +{
    2.23 +	mkdir -p $fs/bin
    2.24 +	cp -a $_pkg/usr/bin/nice $fs/bin
    2.25 +	cp -a $_pkg/usr/bin/kill $fs/bin
    2.26 +	cp -a $_pkg/usr/bin/sleep $fs/bin
    2.27 +
    2.28 +	mkdir -p $fs/usr/bin
    2.29 +	cp -a $_pkg/usr/bin/env $fs/usr/bin
    2.30 +	cp -a $_pkg/usr/bin/nohup $fs/usr/bin
    2.31 +	cp -a $_pkg/usr/bin/timeout $fs/usr/bin
    2.32 +
    2.33 +	mkdir -p $fs/usr/sbin
    2.34 +	cp -a $_pkg/usr/bin/chroot $fs/usr/sbin
    2.35 +}
    2.36 +
    2.37 +# Pre and post install commands for Tazpkg.
    2.38 +# We must remove all Busybox symlink before installing.
    2.39 +#
    2.40 +pre_install()
    2.41 +{
    2.42 +	local root
    2.43 +	root=$1
    2.44 +	echo "Processing pre-install commands..."
    2.45 +	echo -n "Removing all Busybox replaced utils... "
    2.46 +	rm -f $root/bin/nice $root/bin/kill $root/bin/sleep
    2.47 +	rm -f $root/usr/bin/env $root/usr/bin/nohup
    2.48 +	rm -f $root/usr/sbin/chroot
    2.49 +	status
    2.50 +}
    2.51 +
    2.52 +post_remove()
    2.53 +{
    2.54 +	ln -s /bin/busybox /bin/nice
    2.55 +	ln -s /bin/busybox /bin/kill
    2.56 +	ln -s /bin/busybox /bin/sleep
    2.57 +	ln -s /bin/busybox /usr/bin/env
    2.58 +	ln -s /bin/busybox /usr/bin/nohup
    2.59 +	ln -s /bin/busybox /usr/sbin/chroot
    2.60 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/coreutils-conditions/receipt	Wed Jul 08 15:50:51 2009 +0000
     3.3 @@ -0,0 +1,51 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="coreutils-conditions"
     3.7 +VERSION="7.4"
     3.8 +CATEGORY="system-tools"
     3.9 +SHORT_DESC="GNU utilities for conditions."
    3.10 +MAINTAINER="rcx@zoominternet.net"
    3.11 +WEB_SITE="http://www.gnu.org/software/coreutils/"
    3.12 +DEPENDS="glibc-base gmp"
    3.13 +WANTED="coreutils"
    3.14 +
    3.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.16 +#
    3.17 +# This is a special package for installed system or developer. We only take
    3.18 +# a few things, as Busybox provides all the basic utilities, but not for compiling.
    3.19 +# But DO NOT erase a Busybox applet, remove it before with pre_install rules.
    3.20 +#
    3.21 +genpkg_rules()
    3.22 +{
    3.23 +	mkdir -p $fs/bin
    3.24 +	cp -a $_pkg/usr/bin/false $fs/bin
    3.25 +	cp -a $_pkg/usr/bin/true $fs/bin
    3.26 +
    3.27 +	mkdir -p $fs/usr/bin
    3.28 +	cp -a $_pkg/usr/bin/test $fs/usr/bin
    3.29 +	cp -a $_pkg/usr/bin/[ $fs/usr/bin
    3.30 +	cp -a $_pkg/usr/bin/expr $fs/usr/bin
    3.31 +}
    3.32 +
    3.33 +# Pre and post install commands for Tazpkg.
    3.34 +# We must remove all Busybox symlink before installing.
    3.35 +#
    3.36 +pre_install()
    3.37 +{
    3.38 +	local root
    3.39 +	root=$1
    3.40 +	echo "Processing pre-install commands..."
    3.41 +	echo -n "Removing all Busybox replaced utils... "
    3.42 +	rm -f $root/bin/false $root/bin/true
    3.43 +	rm -f $root/usr/bin/test $root/usr/bin/[ $root/usr/bin/expr
    3.44 +	status
    3.45 +}
    3.46 +
    3.47 +post_remove()
    3.48 +{
    3.49 +	ln -s /bin/busybox /bin/false
    3.50 +	ln -s /bin/busybox /bin/true
    3.51 +	ln -s /bin/busybox /usr/bin/test
    3.52 +	ln -s /bin/busybox /usr/bin/[
    3.53 +	ln -s /bin/busybox /usr/bin/expr
    3.54 +}
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/coreutils-context-system/receipt	Wed Jul 08 15:50:51 2009 +0000
     4.3 @@ -0,0 +1,51 @@
     4.4 +# SliTaz package receipt.
     4.5 +
     4.6 +PACKAGE="coreutils-context-system"
     4.7 +VERSION="7.4"
     4.8 +CATEGORY="system-tools"
     4.9 +SHORT_DESC="GNU utilities related to the system context."
    4.10 +MAINTAINER="rcx@zoominternet.net"
    4.11 +WEB_SITE="http://www.gnu.org/software/coreutils/"
    4.12 +DEPENDS="glibc-base"
    4.13 +WANTED="coreutils"
    4.14 +
    4.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.16 +#
    4.17 +# This is a special package for installed system or developer. We only take
    4.18 +# a few things, as Busybox provides all the basic utilities, but not for compiling.
    4.19 +# But DO NOT erase a Busybox applet, remove it before with pre_install rules.
    4.20 +#
    4.21 +genpkg_rules()
    4.22 +{
    4.23 +	mkdir -p $fs/bin
    4.24 +	cp -a $_pkg/usr/bin/date $fs/bin
    4.25 +	cp -a $_pkg/usr/bin/uname $fs/bin
    4.26 +
    4.27 +	mkdir -p $fs/usr/bin
    4.28 +	cp -a $_pkg/usr/bin/chcon $fs/usr/bin
    4.29 +	cp -a $_pkg/usr/bin/runcon $fs/usr/bin
    4.30 +	cp -a $_pkg/usr/bin/hostid $fs/usr/bin
    4.31 +	cp -a $_pkg/usr/bin/uptime $fs/usr/bin
    4.32 +}
    4.33 +
    4.34 +# Pre and post install commands for Tazpkg.
    4.35 +# We must remove all Busybox symlink before installing.
    4.36 +#
    4.37 +pre_install()
    4.38 +{
    4.39 +	local root
    4.40 +	root=$1
    4.41 +	echo "Processing pre-install commands..."
    4.42 +	echo -n "Removing all Busybox replaced utils... "
    4.43 +	rm -f $root/bin/date $root/bin/uname
    4.44 +	rm -f $root/usr/bin/hostid $root/usr/bin/uptime
    4.45 +	status
    4.46 +}
    4.47 +
    4.48 +post_remove()
    4.49 +{
    4.50 +	ln -s /bin/busybox /bin/date
    4.51 +	ln -s /bin/busybox /bin/uname
    4.52 +	ln -s /bin/busybox /usr/bin/hostid
    4.53 +	ln -s /bin/busybox /usr/bin/uptime
    4.54 +}
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/coreutils-context-user/receipt	Wed Jul 08 15:50:51 2009 +0000
     5.3 @@ -0,0 +1,52 @@
     5.4 +# SliTaz package receipt.
     5.5 +
     5.6 +PACKAGE="coreutils-context-user"
     5.7 +VERSION="7.4"
     5.8 +CATEGORY="system-tools"
     5.9 +SHORT_DESC="GNU utilities related to the user context."
    5.10 +MAINTAINER="rcx@zoominternet.net"
    5.11 +WEB_SITE="http://www.gnu.org/software/coreutils/"
    5.12 +DEPENDS="glibc-base"
    5.13 +WANTED="coreutils"
    5.14 +
    5.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    5.16 +#
    5.17 +# This is a special package for installed system or developer. We only take
    5.18 +# a few things, as Busybox provides all the basic utilities, but not for compiling.
    5.19 +# But DO NOT erase a Busybox applet, remove it before with pre_install rules.
    5.20 +#
    5.21 +genpkg_rules()
    5.22 +{
    5.23 +	mkdir -p $fs/bin
    5.24 +	cp -a $_pkg/usr/bin/id $fs/bin
    5.25 +
    5.26 +	mkdir -p $fs/usr/bin
    5.27 +	cp -a $_pkg/usr/bin/logname $fs/usr/bin
    5.28 +	cp -a $_pkg/usr/bin/whoami $fs/usr/bin
    5.29 +	cp -a $_pkg/usr/bin/groups $fs/usr/bin
    5.30 +	cp -a $_pkg/usr/bin/pinky $fs/usr/bin
    5.31 +	cp -a $_pkg/usr/bin/users $fs/usr/bin
    5.32 +	cp -a $_pkg/usr/bin/who $fs/usr/bin
    5.33 +}
    5.34 +
    5.35 +# Pre and post install commands for Tazpkg.
    5.36 +# We must remove all Busybox symlink before installing.
    5.37 +#
    5.38 +pre_install()
    5.39 +{
    5.40 +	local root
    5.41 +	root=$1
    5.42 +	echo "Processing pre-install commands..."
    5.43 +	echo -n "Removing all Busybox replaced utils... "
    5.44 +	rm -f $root/bin/id
    5.45 +	rm -f $root/usr/bin/logname $root/usr/bin/whoami $root/usr/bin/who
    5.46 +	status
    5.47 +}
    5.48 +
    5.49 +post_remove()
    5.50 +{
    5.51 +	ln -s /bin/busybox /bin/id
    5.52 +	ln -s /bin/busybox /usr/bin/logname
    5.53 +	ln -s /bin/busybox /usr/bin/whoami
    5.54 +	ln -s /bin/busybox /usr/bin/who
    5.55 +}
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/coreutils-context-working/receipt	Wed Jul 08 15:50:51 2009 +0000
     6.3 @@ -0,0 +1,49 @@
     6.4 +# SliTaz package receipt.
     6.5 +
     6.6 +PACKAGE="coreutils-context-working"
     6.7 +VERSION="7.4"
     6.8 +CATEGORY="system-tools"
     6.9 +SHORT_DESC="GNU utilities related to the working context."
    6.10 +MAINTAINER="rcx@zoominternet.net"
    6.11 +WEB_SITE="http://www.gnu.org/software/coreutils/"
    6.12 +DEPENDS="glibc-base"
    6.13 +WANTED="coreutils"
    6.14 +
    6.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    6.16 +#
    6.17 +# This is a special package for installed system or developer. We only take
    6.18 +# a few things, as Busybox provides all the basic utilities, but not for compiling.
    6.19 +# But DO NOT erase a Busybox applet, remove it before with pre_install rules.
    6.20 +#
    6.21 +genpkg_rules()
    6.22 +{
    6.23 +	mkdir -p $fs/bin
    6.24 +	cp -a $_pkg/usr/bin/pwd $fs/bin
    6.25 +	cp -a $_pkg/usr/bin/stty $fs/bin
    6.26 +	cp -a $_pkg/usr/bin/printevn $fs/bin
    6.27 +
    6.28 +	mkdir -p $fs/usr/bin
    6.29 +	cp -a $_pkg/usr/bin/tty $fs/usr/bin
    6.30 +}
    6.31 +
    6.32 +# Pre and post install commands for Tazpkg.
    6.33 +# We must remove all Busybox symlink before installing.
    6.34 +#
    6.35 +pre_install()
    6.36 +{
    6.37 +	local root
    6.38 +	root=$1
    6.39 +	echo "Processing pre-install commands..."
    6.40 +	echo -n "Removing all Busybox replaced utils... "
    6.41 +	rm -f $root/bin/pwd $root/bin/stty $root/bin/printenv
    6.42 +	rm -f $root/usr/bin/tty
    6.43 +	status
    6.44 +}
    6.45 +
    6.46 +post_remove()
    6.47 +{
    6.48 +	ln -s /bin/busybox /bin/pwd
    6.49 +	ln -s /bin/busybox /bin/stty
    6.50 +	ln -s /bin/busybox /bin/printenv
    6.51 +	ln -s /bin/busybox /usr/bin/tty
    6.52 +}
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/coreutils-directory/receipt	Wed Jul 08 15:50:51 2009 +0000
     7.3 @@ -0,0 +1,48 @@
     7.4 +# SliTaz package receipt.
     7.5 +
     7.6 +PACKAGE="coreutils-directory"
     7.7 +VERSION="7.4"
     7.8 +CATEGORY="system-tools"
     7.9 +SHORT_DESC="GNU utilities that list directories."
    7.10 +MAINTAINER="rcx@zoominternet.net"
    7.11 +WEB_SITE="http://www.gnu.org/software/coreutils/"
    7.12 +DEPENDS="glibc-base"
    7.13 +WANTED="coreutils"
    7.14 +
    7.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    7.16 +#
    7.17 +# This is a special package for installed system or developer. We only take
    7.18 +# a few things, as Busybox provides all the basic utilities, but not for compiling.
    7.19 +# But DO NOT erase a Busybox applet, remove it before with pre_install rules.
    7.20 +#
    7.21 +genpkg_rules()
    7.22 +{
    7.23 +	mkdir -p $fs/bin
    7.24 +	cp -a $_pkg/usr/bin/ls $fs/bin
    7.25 +
    7.26 +	mkdir -p $fs/usr/bin
    7.27 +	cp -a $_pkg/usr/bin/dir $fs/usr/bin
    7.28 +	cp -a $_pkg/usr/bin/vdir $fs/usr/bin
    7.29 +	cp -a $_pkg/usr/bin/dircolors $fs/usr/bin
    7.30 +}
    7.31 +
    7.32 +# Pre and post install commands for Tazpkg.
    7.33 +# We must remove all Busybox symlink before installing.
    7.34 +#
    7.35 +pre_install()
    7.36 +{
    7.37 +	local root
    7.38 +	root=$1
    7.39 +	echo "Processing pre-install commands..."
    7.40 +	echo -n "Removing all Busybox replaced utils... "
    7.41 +	rm -f $root/bin/ls $root/usr/bin/dir $root/usr/bin/vdir $root/usr/bin/dircolors
    7.42 +	status
    7.43 +}
    7.44 +
    7.45 +post_remove()
    7.46 +{
    7.47 +	ln -s /bin/busybox /bin/ls
    7.48 +	ln -s /bin/busybox /usr/bin/dir
    7.49 +	ln -s /bin/busybox /usr/bin/vdir
    7.50 +	ln -s /bin/busybox /usr/bin/dircolors
    7.51 +}
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/coreutils-disk/receipt	Wed Jul 08 15:50:51 2009 +0000
     8.3 @@ -0,0 +1,50 @@
     8.4 +# SliTaz package receipt.
     8.5 +
     8.6 +PACKAGE="coreutils-disk"
     8.7 +VERSION="7.4"
     8.8 +CATEGORY="system-tools"
     8.9 +SHORT_DESC="GNU utilities that work with disks."
    8.10 +MAINTAINER="rcx@zoominternet.net"
    8.11 +WEB_SITE="http://www.gnu.org/software/coreutils/"
    8.12 +DEPENDS="glibc-base"
    8.13 +WANTED="coreutils"
    8.14 +
    8.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    8.16 +#
    8.17 +# This is a special package for installed system or developer. We only take
    8.18 +# a few things, as Busybox provides all the basic utilities, but not for compiling.
    8.19 +# But DO NOT erase a Busybox applet, remove it before with pre_install rules.
    8.20 +#
    8.21 +genpkg_rules()
    8.22 +{
    8.23 +	mkdir -p $fs/bin
    8.24 +	cp -a $_pkg/usr/bin/df $fs/bin
    8.25 +	cp -a $_pkg/usr/bin/stat $fs/bin
    8.26 +	cp -a $_pkg/usr/bin/sync $fs/bin
    8.27 +
    8.28 +	mkdir -p $fs/usr/bin
    8.29 +	cp -a $_pkg/usr/bin/du $fs/usr/bin
    8.30 +	cp -a $_pkg/usr/bin/truncate $fs/usr/bin
    8.31 +}
    8.32 +
    8.33 +# Pre and post install commands for Tazpkg.
    8.34 +# We must remove all Busybox symlink before installing.
    8.35 +#
    8.36 +pre_install()
    8.37 +{
    8.38 +	local root
    8.39 +	root=$1
    8.40 +	echo "Processing pre-install commands..."
    8.41 +	echo -n "Removing all Busybox replaced utils... "
    8.42 +	rm -f $root/bin/df $root/bin/stat $root/bin/sync
    8.43 +	rm -f $root/usr/bin/du
    8.44 +	status
    8.45 +}
    8.46 +
    8.47 +post_remove()
    8.48 +{
    8.49 +	ln -s /bin/busybox /bin/df
    8.50 +	ln -s /bin/busybox /bin/stat
    8.51 +	ln -s /bin/busybox /bin/sync
    8.52 +	ln -s /bin/busybox /usr/bin/du
    8.53 +}
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/coreutils-file-attributes/receipt	Wed Jul 08 15:50:51 2009 +0000
     9.3 @@ -0,0 +1,46 @@
     9.4 +# SliTaz package receipt.
     9.5 +
     9.6 +PACKAGE="coreutils-file-attributes"
     9.7 +VERSION="7.4"
     9.8 +CATEGORY="system-tools"
     9.9 +SHORT_DESC="GNU utilities that change file attributes."
    9.10 +MAINTAINER="rcx@zoominternet.net"
    9.11 +WEB_SITE="http://www.gnu.org/software/coreutils/"
    9.12 +DEPENDS="glibc-base"
    9.13 +WANTED="coreutils"
    9.14 +
    9.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    9.16 +#
    9.17 +# This is a special package for installed system or developer. We only take
    9.18 +# a few things, as Busybox provides all the basic utilities, but not for compiling.
    9.19 +# But DO NOT erase a Busybox applet, remove it before with pre_install rules.
    9.20 +#
    9.21 +genpkg_rules()
    9.22 +{
    9.23 +	mkdir -p $fs/bin
    9.24 +	cp -a $_pkg/usr/bin/chown $fs/bin
    9.25 +	cp -a $_pkg/usr/bin/chgrp $fs/bin
    9.26 +	cp -a $_pkg/usr/bin/chmod $fs/bin
    9.27 +	cp -a $_pkg/usr/bin/touch $fs/bin
    9.28 +}
    9.29 +
    9.30 +# Pre and post install commands for Tazpkg.
    9.31 +# We must remove all Busybox symlink before installing.
    9.32 +#
    9.33 +pre_install()
    9.34 +{
    9.35 +	local root
    9.36 +	root=$1
    9.37 +	echo "Processing pre-install commands..."
    9.38 +	echo -n "Removing all Busybox replaced utils... "
    9.39 +	rm -f $root/bin/chown $root/bin/chgrp $root/bin/chmod $root/bin/touch
    9.40 +	status
    9.41 +}
    9.42 +
    9.43 +post_remove()
    9.44 +{
    9.45 +	ln -s /bin/busybox /bin/chown
    9.46 +	ln -s /bin/busybox /bin/chgrp
    9.47 +	ln -s /bin/busybox /bin/chmod
    9.48 +	ln -s /bin/busybox /bin/touch
    9.49 +}
    10.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.2 +++ b/coreutils-file-format/receipt	Wed Jul 08 15:50:51 2009 +0000
    10.3 @@ -0,0 +1,42 @@
    10.4 +# SliTaz package receipt.
    10.5 +
    10.6 +PACKAGE="coreutils-file-format"
    10.7 +VERSION="7.4"
    10.8 +CATEGORY="system-tools"
    10.9 +SHORT_DESC="GNU utilities that format file contents."
   10.10 +MAINTAINER="rcx@zoominternet.net"
   10.11 +WEB_SITE="http://www.gnu.org/software/coreutils/"
   10.12 +DEPENDS="glibc-base"
   10.13 +WANTED="coreutils"
   10.14 +
   10.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
   10.16 +#
   10.17 +# This is a special package for installed system or developer. We only take
   10.18 +# a few things, as Busybox provides all the basic utilities, but not for compiling.
   10.19 +# But DO NOT erase a Busybox applet, remove it before with pre_install rules.
   10.20 +#
   10.21 +genpkg_rules()
   10.22 +{
   10.23 +	mkdir -p $fs/usr/bin
   10.24 +	cp -a $_pkg/usr/bin/fmt $fs/usr/bin
   10.25 +	cp -a $_pkg/usr/bin/pr $fs/usr/bin
   10.26 +	cp -a $_pkg/usr/bin/fold $fs/usr/bin
   10.27 +}
   10.28 +
   10.29 +# Pre and post install commands for Tazpkg.
   10.30 +# We must remove all Busybox symlink before installing.
   10.31 +#
   10.32 +pre_install()
   10.33 +{
   10.34 +	local root
   10.35 +	root=$1
   10.36 +	echo "Processing pre-install commands..."
   10.37 +	echo -n "Removing all Busybox replaced utils... "
   10.38 +	rm -f $root/usr/bin/fold
   10.39 +	status
   10.40 +}
   10.41 +
   10.42 +post_remove()
   10.43 +{
   10.44 +	ln -s /bin/busybox /usr/bin/fold
   10.45 +}
    11.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.2 +++ b/coreutils-file-output-full/receipt	Wed Jul 08 15:50:51 2009 +0000
    11.3 @@ -0,0 +1,47 @@
    11.4 +# SliTaz package receipt.
    11.5 +
    11.6 +PACKAGE="coreutils-file-output-full"
    11.7 +VERSION="7.4"
    11.8 +CATEGORY="system-tools"
    11.9 +SHORT_DESC="GNU utilities that output entire files."
   11.10 +MAINTAINER="rcx@zoominternet.net"
   11.11 +WEB_SITE="http://www.gnu.org/software/coreutils/"
   11.12 +DEPENDS="glibc-base"
   11.13 +WANTED="coreutils"
   11.14 +
   11.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
   11.16 +#
   11.17 +# This is a special package for installed system or developer. We only take
   11.18 +# a few things, as Busybox provides all the basic utilities, but not for compiling.
   11.19 +# But DO NOT erase a Busybox applet, remove it before with pre_install rules.
   11.20 +#
   11.21 +genpkg_rules()
   11.22 +{
   11.23 +	mkdir -p $fs/bin
   11.24 +	cp -a $_pkg/usr/bin/cat $fs/bin
   11.25 +
   11.26 +	mkdir -p $fs/usr/bin
   11.27 +	cp -a $_pkg/usr/bin/tac $fs/usr/bin
   11.28 +	cp -a $_pkg/usr/bin/nl $fs/usr/bin
   11.29 +	cp -a $_pkg/usr/bin/od $fs/usr/bin
   11.30 +	cp -a $_pkg/usr/bin/base64 $fs/usr/bin
   11.31 +}
   11.32 +
   11.33 +# Pre and post install commands for Tazpkg.
   11.34 +# We must remove all Busybox symlink before installing.
   11.35 +#
   11.36 +pre_install()
   11.37 +{
   11.38 +	local root
   11.39 +	root=$1
   11.40 +	echo "Processing pre-install commands..."
   11.41 +	echo -n "Removing all Busybox replaced utils... "
   11.42 +	rm -f $root/bin/cat $root/usr/bin/od
   11.43 +	status
   11.44 +}
   11.45 +
   11.46 +post_remove()
   11.47 +{
   11.48 +	ln -s /bin/busybox /bin/cat
   11.49 +	ln -s /bin/busybox /usr/bin/od
   11.50 +}
    12.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.2 +++ b/coreutils-file-output-part/receipt	Wed Jul 08 15:50:51 2009 +0000
    12.3 @@ -0,0 +1,45 @@
    12.4 +# SliTaz package receipt.
    12.5 +
    12.6 +PACKAGE="coreutils-file-output-part"
    12.7 +VERSION="7.4"
    12.8 +CATEGORY="system-tools"
    12.9 +SHORT_DESC="GNU utilities that output file parts."
   12.10 +MAINTAINER="rcx@zoominternet.net"
   12.11 +WEB_SITE="http://www.gnu.org/software/coreutils/"
   12.12 +DEPENDS="glibc-base"
   12.13 +WANTED="coreutils"
   12.14 +
   12.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
   12.16 +#
   12.17 +# This is a special package for installed system or developer. We only take
   12.18 +# a few things, as Busybox provides all the basic utilities, but not for compiling.
   12.19 +# But DO NOT erase a Busybox applet, remove it before with pre_install rules.
   12.20 +#
   12.21 +genpkg_rules()
   12.22 +{
   12.23 +	mkdir -p $fs/usr/bin
   12.24 +	cp -a $_pkg/usr/bin/head $fs/usr/bin
   12.25 +	cp -a $_pkg/usr/bin/tail $fs/usr/bin
   12.26 +	cp -a $_pkg/usr/bin/split $fs/usr/bin
   12.27 +	cp -a $_pkg/usr/bin/csplit $fs/usr/bin
   12.28 +}
   12.29 +
   12.30 +# Pre and post install commands for Tazpkg.
   12.31 +# We must remove all Busybox symlink before installing.
   12.32 +#
   12.33 +pre_install()
   12.34 +{
   12.35 +	local root
   12.36 +	root=$1
   12.37 +	echo "Processing pre-install commands..."
   12.38 +	echo -n "Removing all Busybox replaced utils... "
   12.39 +	rm -f $root/usr/bin/head $root/usr/bin/tail $root/usr/bin/split
   12.40 +	status
   12.41 +}
   12.42 +
   12.43 +post_remove()
   12.44 +{
   12.45 +	ln -s /bin/busybox /usr/bin/head
   12.46 +	ln -s /bin/busybox /usr/bin/tail
   12.47 +	ln -s /bin/busybox /usr/bin/split
   12.48 +}
    13.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.2 +++ b/coreutils-file-sort/receipt	Wed Jul 08 15:50:51 2009 +0000
    13.3 @@ -0,0 +1,47 @@
    13.4 +# SliTaz package receipt.
    13.5 +
    13.6 +PACKAGE="coreutils-file-sort"
    13.7 +VERSION="7.4"
    13.8 +CATEGORY="system-tools"
    13.9 +SHORT_DESC="GNU utilities that operate on sorted files."
   13.10 +MAINTAINER="rcx@zoominternet.net"
   13.11 +WEB_SITE="http://www.gnu.org/software/coreutils/"
   13.12 +DEPENDS="glibc-base"
   13.13 +WANTED="coreutils"
   13.14 +
   13.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
   13.16 +#
   13.17 +# This is a special package for installed system or developer. We only take
   13.18 +# a few things, as Busybox provides all the basic utilities, but not for compiling.
   13.19 +# But DO NOT erase a Busybox applet, remove it before with pre_install rules.
   13.20 +#
   13.21 +genpkg_rules()
   13.22 +{
   13.23 +	mkdir -p $fs/usr/bin
   13.24 +	cp -a $_pkg/usr/bin/sort $fs/usr/bin
   13.25 +	cp -a $_pkg/usr/bin/shuf $fs/usr/bin
   13.26 +	cp -a $_pkg/usr/bin/uniq $fs/usr/bin
   13.27 +	cp -a $_pkg/usr/bin/comm $fs/usr/bin
   13.28 +	cp -a $_pkg/usr/bin/ptx $fs/usr/bin
   13.29 +	cp -a $_pkg/usr/bin/tsort $fs/usr/bin
   13.30 +}
   13.31 +
   13.32 +# Pre and post install commands for Tazpkg.
   13.33 +# We must remove all Busybox symlink before installing.
   13.34 +#
   13.35 +pre_install()
   13.36 +{
   13.37 +	local root
   13.38 +	root=$1
   13.39 +	echo "Processing pre-install commands..."
   13.40 +	echo -n "Removing all Busybox replaced utils... "
   13.41 +	rm -f $root/usr/bin/sort $root/usr/bin/uniq $root/usr/bin/comm
   13.42 +	status
   13.43 +}
   13.44 +
   13.45 +post_remove()
   13.46 +{
   13.47 +	ln -s /bin/busybox /usr/bin/sort
   13.48 +	ln -s /bin/busybox /usr/bin/uniq
   13.49 +	ln -s /bin/busybox /usr/bin/comm
   13.50 +}
    14.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.2 +++ b/coreutils-file-special/receipt	Wed Jul 08 15:50:51 2009 +0000
    14.3 @@ -0,0 +1,56 @@
    14.4 +# SliTaz package receipt.
    14.5 +
    14.6 +PACKAGE="coreutils-file-special"
    14.7 +VERSION="7.4"
    14.8 +CATEGORY="system-tools"
    14.9 +SHORT_DESC="GNU utilities that work with special file types."
   14.10 +MAINTAINER="rcx@zoominternet.net"
   14.11 +WEB_SITE="http://www.gnu.org/software/coreutils/"
   14.12 +DEPENDS="glibc-base"
   14.13 +WANTED="coreutils"
   14.14 +
   14.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
   14.16 +#
   14.17 +# This is a special package for installed system or developer. We only take
   14.18 +# a few things, as Busybox provides all the basic utilities, but not for compiling.
   14.19 +# But DO NOT erase a Busybox applet, remove it before with pre_install rules.
   14.20 +#
   14.21 +genpkg_rules()
   14.22 +{
   14.23 +	mkdir -p $fs/bin
   14.24 +	cp -a $_pkg/usr/bin/ln $fs/bin
   14.25 +	cp -a $_pkg/usr/bin/mkdir $fs/bin
   14.26 +	cp -a $_pkg/usr/bin/mknod $fs/bin
   14.27 +	cp -a $_pkg/usr/bin/rmdir $fs/bin
   14.28 +
   14.29 +	mkdir -p $fs/usr/bin
   14.30 +	cp -a $_pkg/usr/bin/link $fs/usr/bin
   14.31 +	cp -a $_pkg/usr/bin/mkfifo $fs/usr/bin
   14.32 +	cp -a $_pkg/usr/bin/mktemp $fs/usr/bin
   14.33 +	cp -a $_pkg/usr/bin/readlink $fs/usr/bin
   14.34 +	cp -a $_pkg/usr/bin/unlink $fs/usr/bin
   14.35 +}
   14.36 +
   14.37 +# Pre and post install commands for Tazpkg.
   14.38 +# We must remove all Busybox symlink before installing.
   14.39 +#
   14.40 +pre_install()
   14.41 +{
   14.42 +	local root
   14.43 +	root=$1
   14.44 +	echo "Processing pre-install commands..."
   14.45 +	echo -n "Removing all Busybox replaced utils... "
   14.46 +	rm -f $root/bin/ln $root/bin/mkdir $root/bin/mknod $root/bin/rmdir
   14.47 +	rm -f $root/usr/bin/mkfifo $root/usr/bin/readlink
   14.48 +	status
   14.49 +}
   14.50 +
   14.51 +post_remove()
   14.52 +{
   14.53 +	ln -s /bin/busybox /bin/ln
   14.54 +	ln -s /bin/busybox /bin/mkdir
   14.55 +	ln -s /bin/busybox /bin/mknod
   14.56 +	ln -s /bin/busybox /bin/rmdir
   14.57 +	ln -s /bin/busybox /usr/bin/mkfifo
   14.58 +	ln -s /bin/busybox /usr/bin/readlink
   14.59 +}
    15.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    15.2 +++ b/coreutils-file-summarize/receipt	Wed Jul 08 15:50:51 2009 +0000
    15.3 @@ -0,0 +1,52 @@
    15.4 +# SliTaz package receipt.
    15.5 +
    15.6 +PACKAGE="coreutils-file-summarize"
    15.7 +VERSION="7.4"
    15.8 +CATEGORY="system-tools"
    15.9 +SHORT_DESC="GNU utilities that summarize files."
   15.10 +MAINTAINER="rcx@zoominternet.net"
   15.11 +WEB_SITE="http://www.gnu.org/software/coreutils/"
   15.12 +DEPENDS="glibc-base"
   15.13 +WANTED="coreutils"
   15.14 +
   15.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
   15.16 +#
   15.17 +# This is a special package for installed system or developer. We only take
   15.18 +# a few things, as Busybox provides all the basic utilities, but not for compiling.
   15.19 +# But DO NOT erase a Busybox applet, remove it before with pre_install rules.
   15.20 +#
   15.21 +genpkg_rules()
   15.22 +{
   15.23 +	mkdir -p $fs/usr/bin
   15.24 +	cp -a $_pkg/usr/bin/wc $fs/usr/bin
   15.25 +	cp -a $_pkg/usr/bin/sum $fs/usr/bin
   15.26 +	cp -a $_pkg/usr/bin/cksum $fs/usr/bin
   15.27 +	cp -a $_pkg/usr/bin/md5sum $fs/usr/bin
   15.28 +	cp -a $_pkg/usr/bin/sha1sum $fs/usr/bin
   15.29 +	cp -a $_pkg/usr/bin/sha224sum $fs/usr/bin
   15.30 +	cp -a $_pkg/usr/bin/sha256sum $fs/usr/bin
   15.31 +	cp -a $_pkg/usr/bin/sha384sum $fs/usr/bin
   15.32 +	cp -a $_pkg/usr/bin/sha512sum $fs/usr/bin
   15.33 +}
   15.34 +
   15.35 +# Pre and post install commands for Tazpkg.
   15.36 +# We must remove all Busybox symlink before installing.
   15.37 +#
   15.38 +pre_install()
   15.39 +{
   15.40 +	local root
   15.41 +	root=$1
   15.42 +	echo "Processing pre-install commands..."
   15.43 +	echo -n "Removing all Busybox replaced utils... "
   15.44 +	rm -f $root/usr/bin/wc $root/usr/bin/sum $root/usr/bin/cksum $root/usr/bin/md5sum $root/usr/bin/sha1sum
   15.45 +	status
   15.46 +}
   15.47 +
   15.48 +post_remove()
   15.49 +{
   15.50 +	ln -s /bin/busybox /usr/bin/wc
   15.51 +	ln -s /bin/busybox /usr/bin/sum
   15.52 +	ln -s /bin/busybox /usr/bin/cksum
   15.53 +	ln -s /bin/busybox /usr/bin/md5sum
   15.54 +	ln -s /bin/busybox /usr/bin/sha1sum
   15.55 +}
    16.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    16.2 +++ b/coreutils-line/receipt	Wed Jul 08 15:50:51 2009 +0000
    16.3 @@ -0,0 +1,42 @@
    16.4 +# SliTaz package receipt.
    16.5 +
    16.6 +PACKAGE="coreutils-line"
    16.7 +VERSION="7.4"
    16.8 +CATEGORY="system-tools"
    16.9 +SHORT_DESC="GNU utilities that operate on fields within a line."
   16.10 +MAINTAINER="rcx@zoominternet.net"
   16.11 +WEB_SITE="http://www.gnu.org/software/coreutils/"
   16.12 +DEPENDS="glibc-base gmp libcap"
   16.13 +WANTED="coreutils"
   16.14 +
   16.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
   16.16 +#
   16.17 +# This is a special package for installed system or developer. We only take
   16.18 +# a few things, as Busybox provides all the basic utilities, but not for compiling.
   16.19 +# But DO NOT erase a Busybox applet, remove it before with pre_install rules.
   16.20 +#
   16.21 +genpkg_rules()
   16.22 +{
   16.23 +	mkdir -p $fs/usr/bin
   16.24 +	cp -a $_pkg/usr/bin/cut $fs/usr/bin
   16.25 +	cp -a $_pkg/usr/bin/paste $fs/usr/bin
   16.26 +	cp -a $_pkg/usr/bin/join $fs/usr/bin
   16.27 +}
   16.28 +
   16.29 +# Pre and post install commands for Tazpkg.
   16.30 +# We must remove all Busybox symlink before installing.
   16.31 +#
   16.32 +pre_install()
   16.33 +{
   16.34 +	local root
   16.35 +	root=$1
   16.36 +	echo "Processing pre-install commands..."
   16.37 +	echo -n "Removing all Busybox replaced utils... "
   16.38 +	rm -f $root/usr/bin/cut
   16.39 +	status
   16.40 +}
   16.41 +
   16.42 +post_remove()
   16.43 +{
   16.44 +	ln -s /bin/busybox /usr/bin/cut
   16.45 +}
    17.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    17.2 +++ b/coreutils-numeric/receipt	Wed Jul 08 15:50:51 2009 +0000
    17.3 @@ -0,0 +1,41 @@
    17.4 +# SliTaz package receipt.
    17.5 +
    17.6 +PACKAGE="coreutils-numeric"
    17.7 +VERSION="7.4"
    17.8 +CATEGORY="system-tools"
    17.9 +SHORT_DESC="GNU numeric utilities."
   17.10 +MAINTAINER="rcx@zoominternet.net"
   17.11 +WEB_SITE="http://www.gnu.org/software/coreutils/"
   17.12 +DEPENDS="glibc-base gmp"
   17.13 +WANTED="coreutils"
   17.14 +
   17.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
   17.16 +#
   17.17 +# This is a special package for installed system or developer. We only take
   17.18 +# a few things, as Busybox provides all the basic utilities, but not for compiling.
   17.19 +# But DO NOT erase a Busybox applet, remove it before with pre_install rules.
   17.20 +#
   17.21 +genpkg_rules()
   17.22 +{
   17.23 +	mkdir -p $fs/usr/bin
   17.24 +	cp -a $_pkg/usr/bin/factor $fs/usr/bin
   17.25 +	cp -a $_pkg/usr/bin/seq $fs/usr/bin
   17.26 +}
   17.27 +
   17.28 +# Pre and post install commands for Tazpkg.
   17.29 +# We must remove all Busybox symlink before installing.
   17.30 +#
   17.31 +pre_install()
   17.32 +{
   17.33 +	local root
   17.34 +	root=$1
   17.35 +	echo "Processing pre-install commands..."
   17.36 +	echo -n "Removing all Busybox replaced utils... "
   17.37 +	rm -f $root/usr/bin/seq
   17.38 +	status
   17.39 +}
   17.40 +
   17.41 +post_remove()
   17.42 +{
   17.43 +	ln -s /bin/busybox /usr/bin/seq
   17.44 +}
    18.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    18.2 +++ b/coreutils-operations/receipt	Wed Jul 08 15:50:51 2009 +0000
    18.3 @@ -0,0 +1,53 @@
    18.4 +# SliTaz package receipt.
    18.5 +
    18.6 +PACKAGE="coreutils-operations"
    18.7 +VERSION="7.4"
    18.8 +CATEGORY="system-tools"
    18.9 +SHORT_DESC="GNU utilities that perform basic operations."
   18.10 +MAINTAINER="rcx@zoominternet.net"
   18.11 +WEB_SITE="http://www.gnu.org/software/coreutils/"
   18.12 +DEPENDS="glibc-base"
   18.13 +WANTED="coreutils"
   18.14 +
   18.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
   18.16 +#
   18.17 +# This is a special package for installed system or developer. We only take
   18.18 +# a few things, as Busybox provides all the basic utilities, but not for compiling.
   18.19 +# But DO NOT erase a Busybox applet, remove it before with pre_install rules.
   18.20 +#
   18.21 +genpkg_rules()
   18.22 +{
   18.23 +	mkdir -p $fs/bin
   18.24 +	cp -a $_pkg/usr/bin/cp $fs/bin
   18.25 +	cp -a $_pkg/usr/bin/dd $fs/bin
   18.26 +	cp -a $_pkg/usr/bin/mv $fs/bin
   18.27 +	cp -a $_pkg/usr/bin/rm $fs/bin
   18.28 +
   18.29 +	mkdir -p $fs/usr/bin
   18.30 +	cp -a $_pkg/usr/bin/install $fs/usr/bin
   18.31 +	cp -a $_pkg/usr/bin/shred $fs/usr/bin
   18.32 +}
   18.33 +
   18.34 +# Pre and post install commands for Tazpkg.
   18.35 +# We must remove all Busybox symlink before installing.
   18.36 +#
   18.37 +pre_install()
   18.38 +{
   18.39 +	local root
   18.40 +	root=$1
   18.41 +	echo "Processing pre-install commands..."
   18.42 +	echo -n "Removing all Busybox replaced utils... "
   18.43 +	rm -f $root/bin/cp $root/bin/dd $root/bin/mv $root/bin/rm
   18.44 +	rm -f $root/usr/bin/install $root/usr/bin/shred
   18.45 +	status
   18.46 +}
   18.47 +
   18.48 +post_remove()
   18.49 +{
   18.50 +	ln -s /bin/busybox /bin/cp
   18.51 +	ln -s /bin/busybox /bin/dd
   18.52 +	ln -s /bin/busybox /bin/mv
   18.53 +	ln -s /bin/busybox /bin/rm
   18.54 +	ln -s /bin/busybox /usr/bin/install
   18.55 +	ln -s /bin/busybox /usr/bin/shred
   18.56 +}
    19.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    19.2 +++ b/coreutils-path/receipt	Wed Jul 08 15:50:51 2009 +0000
    19.3 @@ -0,0 +1,43 @@
    19.4 +# SliTaz package receipt.
    19.5 +
    19.6 +PACKAGE="coreutils-path"
    19.7 +VERSION="7.4"
    19.8 +CATEGORY="system-tools"
    19.9 +SHORT_DESC="GNU utilities that perform path manipulation."
   19.10 +MAINTAINER="rcx@zoominternet.net"
   19.11 +WEB_SITE="http://www.gnu.org/software/coreutils/"
   19.12 +DEPENDS="glibc-base"
   19.13 +WANTED="coreutils"
   19.14 +
   19.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
   19.16 +#
   19.17 +# This is a special package for installed system or developer. We only take
   19.18 +# a few things, as Busybox provides all the basic utilities, but not for compiling.
   19.19 +# But DO NOT erase a Busybox applet, remove it before with pre_install rules.
   19.20 +#
   19.21 +genpkg_rules()
   19.22 +{
   19.23 +	mkdir -p $fs/usr/bin
   19.24 +	cp -a $_pkg/usr/bin/basename $fs/usr/bin
   19.25 +	cp -a $_pkg/usr/bin/dirname $fs/usr/bin
   19.26 +	cp -a $_pkg/usr/bin/pathchk $fs/usr/bin
   19.27 +}
   19.28 +
   19.29 +# Pre and post install commands for Tazpkg.
   19.30 +# We must remove all Busybox symlink before installing.
   19.31 +#
   19.32 +pre_install()
   19.33 +{
   19.34 +	local root
   19.35 +	root=$1
   19.36 +	echo "Processing pre-install commands..."
   19.37 +	echo -n "Removing all Busybox replaced utils... "
   19.38 +	rm -f $root/usr/bin/basename $root/usr/bin/dirname
   19.39 +	status
   19.40 +}
   19.41 +
   19.42 +post_remove()
   19.43 +{
   19.44 +	ln -s /bin/busybox /usr/bin/basename
   19.45 +	ln -s /bin/busybox /usr/bin/dirname
   19.46 +}
    20.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    20.2 +++ b/coreutils-print/receipt	Wed Jul 08 15:50:51 2009 +0000
    20.3 @@ -0,0 +1,47 @@
    20.4 +# SliTaz package receipt.
    20.5 +
    20.6 +PACKAGE="coreutils-print"
    20.7 +VERSION="7.4"
    20.8 +CATEGORY="system-tools"
    20.9 +SHORT_DESC="GNU utilities that print text."
   20.10 +MAINTAINER="rcx@zoominternet.net"
   20.11 +WEB_SITE="http://www.gnu.org/software/coreutils/"
   20.12 +DEPENDS="glibc-base"
   20.13 +WANTED="coreutils"
   20.14 +
   20.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
   20.16 +#
   20.17 +# This is a special package for installed system or developer. We only take
   20.18 +# a few things, as Busybox provides all the basic utilities, but not for compiling.
   20.19 +# But DO NOT erase a Busybox applet, remove it before with pre_install rules.
   20.20 +#
   20.21 +genpkg_rules()
   20.22 +{
   20.23 +	mkdir -p $fs/bin
   20.24 +	cp -a $_pkg/usr/bin/echo $fs/bin
   20.25 +
   20.26 +	mkdir -p $fs/usr/bin
   20.27 +	cp -a $_pkg/usr/bin/printf $fs/usr/bin
   20.28 +	cp -a $_pkg/usr/bin/yes $fs/usr/bin
   20.29 +}
   20.30 +
   20.31 +# Pre and post install commands for Tazpkg.
   20.32 +# We must remove all Busybox symlink before installing.
   20.33 +#
   20.34 +pre_install()
   20.35 +{
   20.36 +	local root
   20.37 +	root=$1
   20.38 +	echo "Processing pre-install commands..."
   20.39 +	echo -n "Removing all Busybox replaced utils... "
   20.40 +	rm -f $root/bin/echo
   20.41 +	rm -f $root/usr/bin/printf $root/usr/bin/yes
   20.42 +	status
   20.43 +}
   20.44 +
   20.45 +post_remove()
   20.46 +{
   20.47 +	ln -s /bin/busybox /bin/echo
   20.48 +	ln -s /bin/busybox /usr/bin/printf
   20.49 +	ln -s /bin/busybox /usr/bin/yes
   20.50 +}
    21.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    21.2 +++ b/coreutils-redirection/receipt	Wed Jul 08 15:50:51 2009 +0000
    21.3 @@ -0,0 +1,40 @@
    21.4 +# SliTaz package receipt.
    21.5 +
    21.6 +PACKAGE="coreutils-redirection"
    21.7 +VERSION="7.4"
    21.8 +CATEGORY="system-tools"
    21.9 +SHORT_DESC="GNU utilities that work with disks."
   21.10 +MAINTAINER="rcx@zoominternet.net"
   21.11 +WEB_SITE="http://www.gnu.org/software/coreutils/"
   21.12 +DEPENDS="glibc-base"
   21.13 +WANTED="coreutils"
   21.14 +
   21.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
   21.16 +#
   21.17 +# This is a special package for installed system or developer. We only take
   21.18 +# a few things, as Busybox provides all the basic utilities, but not for compiling.
   21.19 +# But DO NOT erase a Busybox applet, remove it before with pre_install rules.
   21.20 +#
   21.21 +genpkg_rules()
   21.22 +{
   21.23 +	mkdir -p $fs/usr/bin
   21.24 +	cp -a $_pkg/usr/bin/tee $fs/usr/bin
   21.25 +}
   21.26 +
   21.27 +# Pre and post install commands for Tazpkg.
   21.28 +# We must remove all Busybox symlink before installing.
   21.29 +#
   21.30 +pre_install()
   21.31 +{
   21.32 +	local root
   21.33 +	root=$1
   21.34 +	echo "Processing pre-install commands..."
   21.35 +	echo -n "Removing all Busybox replaced utils... "
   21.36 +	rm -f $root/usr/bin/tee
   21.37 +	status
   21.38 +}
   21.39 +
   21.40 +post_remove()
   21.41 +{
   21.42 +	ln -s /bin/busybox /usr/bin/tee
   21.43 +}