wok-6.x annotate extundelete/receipt @ rev 22711
exempi: add bin/exempi
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jan 22 11:18:51 2020 +0100 (2020-01-22) |
parents | d4c5925835e1 |
children | 640a2eba2511 |
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@20605 | 19 sed -i 's|i_dir_acl|i_size_high|' src/insertionops.cc |
pascal@18213 | 20 sed -i 's/*inode;/inodebuf;/' src/block.c |
pascal@19792 | 21 ./configure LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lcom_err" \ |
pascal@19689 | 22 -prefix=/usr $CONFIGURE_ARGS && |
pascal@14259 | 23 make && make DESTDIR=$DESTDIR install |
pascal@14259 | 24 } |
pascal@14259 | 25 |
pascal@14259 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14259 | 27 genpkg_rules() |
pascal@14259 | 28 { |
pascal@14259 | 29 cp -a $install/usr $fs |
pascal@14259 | 30 } |