wok-4.x view ddrescue/receipt @ rev 9058

cndrvcups-common: do not compute _pkg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 11:54:05 2011 +0100 (2011-03-04)
parents 82a0ae062382
children 02bbaa9d12ba
line source
1 # SliTaz package receipt.
3 PACKAGE="ddrescue"
4 VERSION="1.14"
5 CATEGORY="system-tools"
6 SHORT_DESC="Data recovery tool."
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="gcc-lib-base"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnu.org/software/ddrescue/ddrescue.html"
11 WGET_URL="http://ftp.gnu.org/gnu/ddrescue/$TARBALL"
12 TAGS="recovery toolkit tools"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr --infodir=/usr/share/info \
20 --mandir=/usr/share/man $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/usr/bin $fs/usr
30 strip -s $fs/usr/bin/*
31 }