wok annotate ddrescue/receipt @ rev 9145
Trying to fix VINRUNTIMEDIR (Thanks kans)
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Mar 06 22:02:23 2011 +0100 (2011-03-06) |
parents | 82a0ae062382 |
children | 02bbaa9d12ba |
rev | line source |
---|---|
erjo@621 | 1 # SliTaz package receipt. |
erjo@621 | 2 |
erjo@621 | 3 PACKAGE="ddrescue" |
slaxemulator@8250 | 4 VERSION="1.14" |
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 |