wok-next view ddrescue/receipt @ rev 6654

Added linux-api-headers. This is like linux-headers but it doesn't depend on linux to be build. Also this means we can update the kernel without rebuild the toolchain.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Oct 11 02:17:02 2010 +0000 (2010-10-11)
parents 6e90579538d6
children c1c625825edc
line source
1 # SliTaz package receipt.
3 PACKAGE="ddrescue"
4 VERSION="1.13"
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 }