SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "rzip"

# SliTaz package receipt.

PACKAGE="rzip"
VERSION="2.1"
CATEGORY="utilities"
SHORT_DESC="A compression program designed for long distance redundencies"
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://rzip.samba.org/"
WGET_URL="${WEB_SITE}ftp/$PACKAGE/$TARBALL"
TAGS="compression archive"

DEPENDS="bzlib"
BUILD_DEPENDS="wget bzip2-dev"

current_version()
{
    wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    sed '/tar/!d;s|.*rzip-\(.*\).tar.*".*|\1|' | sed '$!d'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure --prefix=/usr \
        --sysconfdir=/etc \
        $CONFIGURE_ARGS &&
    make
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin
    cp -a $src/rzip $fs/usr/bin
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)