wok-current annotate testdisk/receipt @ rev 3435

coreutils: Fix (hack) build
author Christophe Lincoln <pankso@slitaz.org>
date Sat Jun 13 16:20:43 2009 +0200 (2009-06-13)
parents f735d88b709d
children 866fa2493b1b
rev   line source
pankso@260 1 # SliTaz package receipt.
pankso@260 2
pankso@260 3 PACKAGE="testdisk"
erjo@1344 4 VERSION="6.10"
pankso@260 5 CATEGORY="system-tools"
pankso@260 6 SHORT_DESC="Data recovery tools (testdisk + photorec)."
pankso@260 7 MAINTAINER="pankso@slitaz.org"
pascal@2439 8 DEPENDS="e2fsprogs ncurses jpeg krb5 zlib"
pankso@260 9 BUILD_DEPENDS="e2fsprogs-dev ncurses-dev jpeg-dev"
pankso@260 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@260 11 WEB_SITE="http://www.cgsecurity.org/wiki/TestDisk"
pankso@260 12 WGET_URL="http://www.cgsecurity.org/$TARBALL"
pankso@260 13
pankso@260 14 # Rules to configure and make the package.
pankso@260 15 compile_rules()
pankso@260 16 {
pankso@260 17 cd $src
pankso@260 18 ./configure \
pankso@260 19 --prefix=/usr \
pankso@260 20 --mandir=/usr/share/man \
pascal@2407 21 $CONFIGURE_ARGS &&
pascal@2407 22 make &&
pankso@260 23 make DESTDIR=$PWD/_pkg install
pankso@260 24 }
pankso@260 25
pankso@260 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@260 27 genpkg_rules()
pankso@260 28 {
pankso@260 29 mkdir -p $fs/usr
pankso@260 30 cp -a $_pkg/usr/sbin $fs/usr
pankso@260 31 }