wok annotate ddrescue/receipt @ rev 4828
Up: libxml2 (2.7.6) - Split tools (saved ~60kb)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Jan 21 23:06:09 2010 +0100 (2010-01-21) |
parents | a075ff895254 |
children | 74a6a43bf614 |
rev | line source |
---|---|
erjo@621 | 1 # SliTaz package receipt. |
erjo@621 | 2 |
erjo@621 | 3 PACKAGE="ddrescue" |
erjo@2958 | 4 VERSION="1.10" |
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@2958 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
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@2958 | 13 |
erjo@621 | 14 # Rules to configure and make the package. |
erjo@621 | 15 compile_rules() |
erjo@621 | 16 { |
erjo@621 | 17 cd $src |
erjo@621 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
erjo@621 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS |
erjo@621 | 20 make |
erjo@621 | 21 make DESTDIR=$PWD/_pkg install |
erjo@621 | 22 } |
erjo@621 | 23 |
erjo@621 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@621 | 25 genpkg_rules() |
erjo@621 | 26 { |
erjo@621 | 27 mkdir -p $fs/usr |
erjo@621 | 28 cp -a $_pkg/usr/bin $fs/usr |
erjo@621 | 29 strip -s $fs/usr/bin/* |
erjo@621 | 30 } |
erjo@621 | 31 |