wok-6.x annotate dd_rescue/receipt @ rev 4545
busybox/init: add loop & crypto support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 03 17:58:06 2009 +0100 (2009-12-03) |
parents | 6a9428a46323 |
children | 0db5fd19d4c1 |
rev | line source |
---|---|
erjo@621 | 1 # SliTaz package receipt. |
erjo@621 | 2 |
erjo@621 | 3 PACKAGE="dd_rescue" |
erjo@621 | 4 VERSION="1.14" |
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 |