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"

current_version()
{
    wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    sed '/tar/!d;s|.*recover-\(.*\).tar.*".*|\1|' | 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)