SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "xz"

# SliTaz package receipt.

PACKAGE="xz"
VERSION="5.0.3"
CATEGORY="base-system"
SHORT_DESC="General-purpose data compressor with a high compression ratio."
MAINTAINER="pascal.bellard@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
DEPENDS="liblzma"
WEB_SITE="http://tukaani.org/xz"
WGET_URL="$WEB_SITE/$TARBALL"
PROVIDE="lzma"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./configure $CONFIGURE_ARGS \
    --enable-dynamic=yes --enable-small &&
    make && make install
}


# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin
    cp -a $_pkg/usr/bin/xz $fs/usr/bin
    #cp $stuff/lzma $fs/usr/bin
    #ln -s lzma $fs/usr/bin/unlzma
    #ln -s lzma $fs/usr/bin/lzcat
}

# 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/unlzma
#    rm -f $root/usr/bin/lzcat
#    status
#}

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