Receipt for: ext4magic
source
stuff/patches/ext4magic-0.3.2-i_dir_acl.patch
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 libcomerr-dev bzip2-dev file libmagic-dev
util-linux-blkid-dev util-linux-uuid-dev zlib-dev"
current_version()
{
wget -O - https://sourceforge.net/projects/ext4magic/files/ 2>/dev/null | \
sed '/ext4magic-/!d;s|.*ext4magic-||;s|.tar.*||;q'
}
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
}
genpkg_rules()
{
cook_copy_folders sbin
}