SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "ddrescue"

# SliTaz package receipt.

PACKAGE="ddrescue"
VERSION="1.26"
CATEGORY="system-tools"
TAGS="recovery toolkit tools"
SHORT_DESC="Data recovery tool."
MAINTAINER="erjo@slitaz.org"
LICENSE="GPL3"
WEB_SITE="https://www.gnu.org/software/ddrescue/"

TARBALL="$PACKAGE-$VERSION.tar.lz"
WGET_URL="http://ftp.gnu.org/gnu/$PACKAGE/$TARBALL"

DEPENDS="gcc-lib-base"
BUILD_DEPENDS="lzip"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*} 2>/dev/null | \
    sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure                \
        --prefix=/usr            \
        --infodir=/usr/share/info    \
        --mandir=/usr/share/man        \
        $CONFIGURE_ARGS &&
    make &&
    make install DESTDIR=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    bin
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)