# HG changeset patch # User Pascal Bellard # Date 1415124365 -3600 # Node ID 7590ebb973662b2e83d06f1b3909d1e193a07f25 # Parent 8fa9b091fbf654d10d82825ebfc6cf9ac185f5c1 Add e2tools diff -r 8fa9b091fbf6 -r 7590ebb97366 e2tools/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/e2tools/receipt Tue Nov 04 19:06:05 2014 +0100 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="e2tools" +VERSION="0.0.16" +CATEGORY="base-system" +SHORT_DESC="Read, write, and manipulate files in an ext2/ext3 filesystem.." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL2" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="https://github.com/ndim/$PACKAGE" +WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" + +DEPENDS="e2fsprogs" +BUILD_DEPENDS="e2fsprogs-dev" + +# Rules to configure and make the package. +compile_rules() +{ + export LDFLAGS="-Wl,--copy-dt-needed-entries" + ./configure \ + --prefix=/usr \ + $CONFIGURE_ARGS + make && make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/* $fs +}