wok-next annotate e2tools/receipt @ rev 18979
Up tazlito(419)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Mar 14 23:42:02 2016 +0200 (2016-03-14) |
parents | 3b5c0ea204f2 |
children | d5aab818505e |
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@17326 | 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@17325 | 14 BUILD_DEPENDS="e2fsprogs-dev wget" |
pascal@17324 | 15 |
pascal@17324 | 16 # Rules to configure and make the package. |
pascal@17324 | 17 compile_rules() |
pascal@17324 | 18 { |
pascal@17670 | 19 export LDFLAGS="$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 } |