SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "coreutils-line"

# SliTaz package receipt.

PACKAGE="coreutils-line"
VERSION="8.12"
CATEGORY="system-tools"
SHORT_DESC="GNU utilities that operate on fields within a line."
MAINTAINER="rcx@zoominternet.net"
WEB_SITE="http://www.gnu.org/software/coreutils/"
DEPENDS="glibc-base gmp libcap"
WANTED="coreutils"

# Rules to gen a SliTaz package suitable for Tazpkg.
#
# This is a special package for installed system or developer. We only take
# a few things, as Busybox provides all the basic utilities, but not for compiling.
# But DO NOT erase a Busybox applet, remove it before with pre_install rules.
#
genpkg_rules()
{
    mkdir -p $fs/usr/bin
    cp -a $_pkg/usr/bin/cut $fs/usr/bin
    cp -a $_pkg/usr/bin/paste $fs/usr/bin
    cp -a $_pkg/usr/bin/join $fs/usr/bin
}

# Pre and post install commands for Tazpkg.
# We must remove all Busybox symlink before installing.
#
pre_install()
{
    local root
    root=$1
    echo "Processing pre-install commands..."
    echo -n "Removing all Busybox replaced utils... "
    rm -f $root/usr/bin/cut
    status
}

post_remove()
{
    ln -s /bin/busybox $1/usr/bin/cut
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)