wok-current annotate magicrescue/receipt @ rev 11610
linux: use lzma compression (xz does not build)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 20 23:37:52 2012 +0100 (2012-01-20) |
parents | |
children | 3765f181a6d5 |
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" |
slaxemulator@7520 | 8 DEPENDS="perl" |
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 |
slaxemulator@7520 | 13 # Rules to configure and make the package. |
slaxemulator@7520 | 14 compile_rules() |
slaxemulator@7520 | 15 { |
slaxemulator@7520 | 16 cd $src |
slaxemulator@7520 | 17 install -d $PWD/_pkg/usr |
slaxemulator@7520 | 18 ./configure \ |
slaxemulator@7520 | 19 --prefix=/usr \ |
slaxemulator@7520 | 20 $CONFIGURE_ARGS && |
slaxemulator@7520 | 21 make PREFIX=$PWD/_pkg/usr install |
slaxemulator@7520 | 22 } |
slaxemulator@7520 | 23 |
slaxemulator@7520 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7520 | 25 genpkg_rules() |
slaxemulator@7520 | 26 { |
slaxemulator@7520 | 27 mkdir -p $fs/usr/share |
slaxemulator@7520 | 28 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@7520 | 29 cp -a $_pkg/usr/share/magicrescue $fs/usr/share |
slaxemulator@7520 | 30 } |
slaxemulator@7520 | 31 |