wok-6.x annotate ddrescue/receipt @ rev 4045
scim: up post install
author | Liu Peng <rocky@slitaz.org> |
---|---|
date | Wed Sep 09 03:33:21 2009 +0000 (2009-09-09) |
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 |