SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "lzip"

# SliTaz package receipt.

PACKAGE="lzip"
VERSION="1.23"
CATEGORY="utilities"
SHORT_DESC="LZMA compressor."
MAINTAINER="mimas@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://www.nongnu.org/lzip/lzip.html"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://download.savannah.gnu.org/releases/lzip/$TARBALL"

DEPENDS="gcc-lib-base"

HOST_ARCH="i486 arm"

# What is the latest version available today?
current_version()
{
    wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    sed '/>lzip-/!d;/tar/d;s|.*lzip-||;s|.tar.*||' | sed '$!d'
}

# Rules to configure and make the package.
compile_rules()
{
    mkdir -p $DESTDIR/usr/share/doc
    cp README $DESTDIR/usr/share/doc

    ./configure        \
        --prefix=/usr    \
        $CONFIGURE_ARGS &&
    make &&
    make install DESTDIR=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    bin
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)