Receipt for: e2tools
source
PACKAGE="e2tools"
VERSION="0.0.16.4"
CATEGORY="base-system"
SHORT_DESC="Read, write, and manipulate files in an ext2 or ext3 filesystem."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://github.com/ndim/$PACKAGE"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
DEPENDS="e2fsprogs"
BUILD_DEPENDS="autoconf automake e2fsprogs-dev"
current_version()
{
wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
}
compile_rules()
{
export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
autoreconf -vis . &&
./configure \
--prefix=/usr \
$CONFIGURE_ARGS &&
make -j 1 &&
make DESTDIR=$DESTDIR install
}
genpkg_rules()
{
cp -a $install/* $fs
}