wok-6.x view ddrescue/receipt @ rev 3293

Jinja2: fix genpkg_rules
author Claudinei Pereira <claudinei@slitaz.org>
date Thu Jun 04 00:40:12 2009 +0000 (2009-06-04)
parents a075ff895254
children 74a6a43bf614
line source
1 # SliTaz package receipt.
3 PACKAGE="ddrescue"
4 VERSION="1.10"
5 CATEGORY="system-tools"
6 SHORT_DESC="Data recovery tool."
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS=""
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnu.org/software/ddrescue/ddrescue.html"
11 WGET_URL="http://ftp.gnu.org/gnu/ddrescue/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man $CONFIGURE_ARGS
20 make
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $_pkg/usr/bin $fs/usr
29 strip -s $fs/usr/bin/*
30 }