wok-6.x annotate extundelete/receipt @ rev 19689
extundelete, proxytunnel: add LDFLAGS for -Wl,--copy-dt-needed-entries
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 13 09:08:56 2017 +0100 (2017-02-13) |
parents | c9a75d9c5640 |
children | d4c5925835e1 |
rev | line source |
---|---|
pascal@14259 | 1 # SliTaz package receipt. |
pascal@14259 | 2 |
pascal@14259 | 3 PACKAGE="extundelete" |
pascal@14259 | 4 VERSION="0.2.4" |
pascal@14259 | 5 CATEGORY="base-system" |
pascal@14259 | 6 SHORT_DESC="Recover deleted files from an ext3 or ext4 partition." |
pascal@14259 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15202 | 8 LICENSE="GPL2" |
pascal@14259 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@14259 | 10 WEB_SITE="http://extundelete.sourceforge.net/" |
pascal@14259 | 11 WGET_URL="$SF_MIRROR/extundelete/$TARBALL" |
pascal@14259 | 12 |
pascal@14259 | 13 DEPENDS="e2fsprogs gcc-lib-base" |
pascal@14259 | 14 BUILD_DEPENDS="e2fsprogs-dev" |
pascal@14259 | 15 |
pascal@14259 | 16 # Rules to configure and make the package. |
pascal@14259 | 17 compile_rules() |
pascal@14259 | 18 { |
pascal@18213 | 19 sed -i 's/*inode;/inodebuf;/' src/block.c |
pascal@19689 | 20 ./configure LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries" \ |
pascal@19689 | 21 -prefix=/usr $CONFIGURE_ARGS && |
pascal@14259 | 22 make && make DESTDIR=$DESTDIR install |
pascal@14259 | 23 } |
pascal@14259 | 24 |
pascal@14259 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14259 | 26 genpkg_rules() |
pascal@14259 | 27 { |
pascal@14259 | 28 cp -a $install/usr $fs |
pascal@14259 | 29 } |