wok-current annotate e2tools/receipt @ rev 17324
Add e2tools
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 04 19:06:05 2014 +0100 (2014-11-04) |
parents | |
children | 30a3a0244703 |
rev | line source |
---|---|
pascal@17324 | 1 # SliTaz package receipt. |
pascal@17324 | 2 |
pascal@17324 | 3 PACKAGE="e2tools" |
pascal@17324 | 4 VERSION="0.0.16" |
pascal@17324 | 5 CATEGORY="base-system" |
pascal@17324 | 6 SHORT_DESC="Read, write, and manipulate files in an ext2/ext3 filesystem.." |
pascal@17324 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17324 | 8 LICENSE="GPL2" |
pascal@17324 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@17324 | 10 WEB_SITE="https://github.com/ndim/$PACKAGE" |
pascal@17324 | 11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" |
pascal@17324 | 12 |
pascal@17324 | 13 DEPENDS="e2fsprogs" |
pascal@17324 | 14 BUILD_DEPENDS="e2fsprogs-dev" |
pascal@17324 | 15 |
pascal@17324 | 16 # Rules to configure and make the package. |
pascal@17324 | 17 compile_rules() |
pascal@17324 | 18 { |
pascal@17324 | 19 export LDFLAGS="-Wl,--copy-dt-needed-entries" |
pascal@17324 | 20 ./configure \ |
pascal@17324 | 21 --prefix=/usr \ |
pascal@17324 | 22 $CONFIGURE_ARGS |
pascal@17324 | 23 make && make DESTDIR=$DESTDIR install |
pascal@17324 | 24 } |
pascal@17324 | 25 |
pascal@17324 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17324 | 27 genpkg_rules() |
pascal@17324 | 28 { |
pascal@17324 | 29 cp -a $install/* $fs |
pascal@17324 | 30 } |