wok-6.x annotate testdisk/receipt @ rev 5646
Fix: mercurial add CONFIG_FILES for smarter upgrade
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat May 29 11:51:06 2010 +0200 (2010-05-29) |
parents | 410630f6493d |
children | 964f5d384827 |
rev | line source |
---|---|
pankso@260 | 1 # SliTaz package receipt. |
pankso@260 | 2 |
pankso@260 | 3 PACKAGE="testdisk" |
slaxemulator@5494 | 4 VERSION="6.11.3" |
pankso@260 | 5 CATEGORY="system-tools" |
pankso@260 | 6 SHORT_DESC="Data recovery tools (testdisk + photorec)." |
pankso@260 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@5032 | 8 DEPENDS="e2fsprogs ncurses jpeg krb5 zlib libcomerr3 ncursesw" |
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" |
jozee@4973 | 13 TAGS="recovery rescue" |
pankso@260 | 14 |
pankso@260 | 15 # Rules to configure and make the package. |
pankso@260 | 16 compile_rules() |
pankso@260 | 17 { |
pankso@260 | 18 cd $src |
pankso@260 | 19 ./configure \ |
pankso@260 | 20 --prefix=/usr \ |
pankso@260 | 21 --mandir=/usr/share/man \ |
pascal@2407 | 22 $CONFIGURE_ARGS && |
pascal@2407 | 23 make && |
pankso@260 | 24 make DESTDIR=$PWD/_pkg install |
pankso@260 | 25 } |
pankso@260 | 26 |
pankso@260 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@260 | 28 genpkg_rules() |
pankso@260 | 29 { |
pankso@260 | 30 mkdir -p $fs/usr |
pankso@260 | 31 cp -a $_pkg/usr/sbin $fs/usr |
pankso@260 | 32 } |