SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "hfsprescue"

# SliTaz package receipt.

PACKAGE="hfsprescue"
VERSION="3.5"
CATEGORY="base-system"
SHORT_DESC="HFS+ recovery tool."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://www.plop.at/en/hfsprescue.html"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://download.plop.at/$PACKAGE/$TARBALL"

DEPENDS="libcrypto zlib"
BUILD_DEPENDS="openssl-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://www.plop.at/en/hfsprescue/download.html 2>/dev/null | \
    sed '/hfsprescue-[0-9]/!d;/tar/!d;/precompiled/d;s|.*hfsprescue-||;s|.tar.*||;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
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)