wok-6.x annotate testdisk/receipt @ rev 260

Add testdisk (data recovery tool)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Feb 24 20:42:02 2008 +0100 (2008-02-24)
parents
children 0800bd0fc7ba
rev   line source
pankso@260 1 # SliTaz package receipt.
pankso@260 2
pankso@260 3 PACKAGE="testdisk"
pankso@260 4 VERSION="6.9"
pankso@260 5 CATEGORY="system-tools"
pankso@260 6 SHORT_DESC="Data recovery tools (testdisk + photorec)."
pankso@260 7 MAINTAINER="pankso@slitaz.org"
pankso@260 8 DEPENDS="e2fsprogs ncurses jpeg"
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 \
pankso@260 21 $CONFIGURE_ARGS
pankso@260 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 }