wok-current annotate ddrescue/receipt @ rev 2590
Add compat-wireless
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 08 11:34:31 2009 +0000 (2009-04-08) |
parents | 6a9428a46323 |
children | 8af2df48dbc9 |
rev | line source |
---|---|
erjo@621 | 1 # SliTaz package receipt. |
erjo@621 | 2 |
erjo@621 | 3 PACKAGE="ddrescue" |
erjo@621 | 4 VERSION="1.8" |
erjo@621 | 5 CATEGORY="system-tools" |
erjo@621 | 6 SHORT_DESC="Data recovery tool." |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@621 | 8 DEPENDS="" |
erjo@621 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@621 | 10 WEB_SITE="http://www.gnu.org/software/ddrescue/ddrescue.html" |
erjo@621 | 11 WGET_URL="http://ftp.gnu.org/gnu/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 cd $src |
erjo@621 | 17 ./configure --prefix=/usr --infodir=/usr/share/info \ |
erjo@621 | 18 --mandir=/usr/share/man $CONFIGURE_ARGS |
erjo@621 | 19 make |
erjo@621 | 20 make DESTDIR=$PWD/_pkg install |
erjo@621 | 21 } |
erjo@621 | 22 |
erjo@621 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@621 | 24 genpkg_rules() |
erjo@621 | 25 { |
erjo@621 | 26 mkdir -p $fs/usr |
erjo@621 | 27 cp -a $_pkg/usr/bin $fs/usr |
erjo@621 | 28 strip -s $fs/usr/bin/* |
erjo@621 | 29 } |
erjo@621 | 30 |