wok-6.x view 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 |
line source
1 # SliTaz package receipt.
3 PACKAGE="dd_rescue"
4 VERSION="1.22"
5 CATEGORY="system-tools"
6 SHORT_DESC="Block device copy tools."
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS=""
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.garloff.de/kurt/linux/ddrescue/"
11 WGET_URL="http://www.garloff.de/kurt/linux/ddrescue/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 src=$PACKAGE
17 cd $src
18 make
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 src=$PACKAGE
25 mkdir -p $fs/usr/bin
26 cp -a $src/dd_rescue $fs/usr/bin
27 }
29 clean_wok()
30 {
31 rm -rf $WOK/$PACKAGE/$PACKAGE
32 }