SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "ext4magic"

# SliTaz package receipt.

PACKAGE="ext4magic"
VERSION="0.3.2"
CATEGORY="system-tools"
TAGS="recover"
SHORT_DESC="Recover deleted or overwritten files on ext3 and ext4 filesystems."
MAINTAINER="maintainer@slitaz.org"
LICENSE="GPL2+"
WEB_SITE="https://sourceforge.net/projects/ext4magic/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

DEPENDS="e2fsprogs file zlib"
BUILD_DEPENDS="e2fsprogs e2fsprogs-dev file libmagic-dev 
    util-linux-blkid-dev util-linux-uuid-dev zlib-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/ext4magic/files/ 2>/dev/null | \
    sed '/ext4magic-/!d;s|.*ext4magic-||;s|.tar.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    patch    --strip=1    \
        --input=$stuff/patches/ext4magic-$VERSION-i_dir_acl.patch
    export    LIBS="$LIBS /usr/lib/libext2fs.so.2"

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

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