wok annotate dd_rescue/receipt @ rev 7778
Up slitaz-boot-scripts (3.4.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 23 11:03:32 2010 +0100 (2010-12-23) |
parents | a075ff895254 |
children | a1c1d35d9f92 |
rev | line source |
---|---|
erjo@621 | 1 # SliTaz package receipt. |
erjo@621 | 2 |
erjo@621 | 3 PACKAGE="dd_rescue" |
slaxemulator@6237 | 4 VERSION="1.22" |
erjo@621 | 5 CATEGORY="system-tools" |
erjo@621 | 6 SHORT_DESC="Block device copy tools." |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@621 | 8 DEPENDS="" |
erjo@621 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@621 | 10 WEB_SITE="http://www.garloff.de/kurt/linux/ddrescue/" |
erjo@621 | 11 WGET_URL="http://www.garloff.de/kurt/linux/ddrescue/$TARBALL" |
erjo@621 | 12 |
erjo@621 | 13 # Rules to configure and make the package. |
erjo@621 | 14 compile_rules() |
erjo@621 | 15 { |
erjo@621 | 16 src=$PACKAGE |
erjo@621 | 17 cd $src |
erjo@621 | 18 make |
erjo@621 | 19 } |
erjo@621 | 20 |
erjo@621 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@621 | 22 genpkg_rules() |
erjo@621 | 23 { |
erjo@621 | 24 src=$PACKAGE |
erjo@621 | 25 mkdir -p $fs/usr/bin |
erjo@621 | 26 cp -a $src/dd_rescue $fs/usr/bin |
erjo@621 | 27 } |
erjo@621 | 28 |
erjo@621 | 29 clean_wok() |
erjo@621 | 30 { |
erjo@621 | 31 rm -rf $WOK/$PACKAGE/$PACKAGE |
erjo@621 | 32 } |
erjo@621 | 33 |