wok-6.x annotate ddrescue/receipt @ rev 5933

Up memtest (4.10)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 30 17:41:50 2010 +0200 (2010-07-30)
parents 74a6a43bf614
children 82a0ae062382
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"
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