wok-next annotate magicrescue/receipt @ rev 9857
obconf: fix BUILD_DEPENDS (again)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 16 15:34:53 2011 +0200 (2011-05-16) |
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 |