wok annotate magicrescue/receipt @ rev 19896
Add transcode
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 06 19:38:29 2017 +0200 (2017-04-06) |
parents | 3765f181a6d5 |
children | 60881e583eec |
rev | line source |
---|---|
slaxemulator@7520 | 1 # SliTaz package receipt. |
slaxemulator@7520 | 2 |
slaxemulator@7520 | 3 PACKAGE="magicrescue" |
slaxemulator@7520 | 4 VERSION="1.1.9" |
slaxemulator@7520 | 5 CATEGORY="utilities" |
slaxemulator@7520 | 6 SHORT_DESC="Find and recover deleted files on block devices." |
slaxemulator@7520 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15584 | 8 LICENSE="GPL2" |
slaxemulator@7520 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@7520 | 10 WEB_SITE="http://freshmeat.net/projects/magicrescue/" |
slaxemulator@7520 | 11 WGET_URL="http://www.itu.dk/people/jobr/$PACKAGE/release/$TARBALL" |
slaxemulator@7520 | 12 |
pascal@15584 | 13 DEPENDS="perl" |
pascal@15584 | 14 |
slaxemulator@7520 | 15 # Rules to configure and make the package. |
slaxemulator@7520 | 16 compile_rules() |
slaxemulator@7520 | 17 { |
pascal@19291 | 18 sed -i 's|/man/|/share&|' Makefile* |
pascal@15584 | 19 install -d $DESTDIR/usr |
slaxemulator@7520 | 20 ./configure \ |
slaxemulator@7520 | 21 --prefix=/usr \ |
slaxemulator@7520 | 22 $CONFIGURE_ARGS && |
pascal@15584 | 23 make PREFIX=$DESTDIR/usr install |
slaxemulator@7520 | 24 } |
slaxemulator@7520 | 25 |
slaxemulator@7520 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7520 | 27 genpkg_rules() |
slaxemulator@7520 | 28 { |
slaxemulator@7520 | 29 mkdir -p $fs/usr/share |
pascal@15584 | 30 cp -a $install/usr/bin $fs/usr |
pascal@15584 | 31 cp -a $install/usr/share/magicrescue $fs/usr/share |
slaxemulator@7520 | 32 } |