wok-stable annotate ddrescue/receipt @ rev 7755
Up busybox (1.18.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Dec 21 15:38:35 2010 +0100 (2010-12-21) |
parents | 6e90579538d6 |
children | c1c625825edc |
rev | line source |
---|---|
erjo@621 | 1 # SliTaz package receipt. |
erjo@621 | 2 |
erjo@621 | 3 PACKAGE="ddrescue" |
slaxemulator@6236 | 4 VERSION="1.13" |
erjo@621 | 5 CATEGORY="system-tools" |
erjo@621 | 6 SHORT_DESC="Data recovery tool." |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@5000 | 8 DEPENDS="gcc-lib-base" |
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" |
jozee@4934 | 12 TAGS="recovery toolkit tools" |
erjo@621 | 13 |
erjo@2958 | 14 |
erjo@621 | 15 # Rules to configure and make the package. |
erjo@621 | 16 compile_rules() |
erjo@621 | 17 { |
erjo@621 | 18 cd $src |
erjo@621 | 19 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@5000 | 20 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@5000 | 21 make && |
erjo@621 | 22 make DESTDIR=$PWD/_pkg install |
erjo@621 | 23 } |
erjo@621 | 24 |
erjo@621 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@621 | 26 genpkg_rules() |
erjo@621 | 27 { |
erjo@621 | 28 mkdir -p $fs/usr |
erjo@621 | 29 cp -a $_pkg/usr/bin $fs/usr |
erjo@621 | 30 strip -s $fs/usr/bin/* |
erjo@621 | 31 } |
erjo@621 | 32 |