wok-6.x annotate dd_rescue/receipt @ rev 7674

Fixed linux. Need to make folder PWD/_pkg before adding bzImage to it. Also i'm force copying kernel config file now so we have the right config. It is copyed twice so its needed and doesn't hunt anything i think.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Dec 16 17:16:06 2010 +0000 (2010-12-16)
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