SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "lziprecover"

# SliTaz package receipt.

PACKAGE="lziprecover"
VERSION="1.23"
CATEGORY="utilities"
SHORT_DESC="LZIP files recovery tool."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://www.nongnu.org/lzip/lziprecover.html"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://download.savannah.gnu.org/releases/lzip/lziprecover/$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  '/>lziprecover-/!d;/tar/!d;s|.*lziprecover-||;s|.tar.*||' | sort -Vr | sed q
}

# 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
}
5935 packages and 845883 files in cooking database (Sun Jun 2 00:46:56 2024)