wok-6.x annotate testdisk/receipt @ rev 1920
Asterisk: add setup-rules for postgresql
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 22 12:16:29 2008 +0000 (2008-12-22) |
parents | 1953740c54b4 |
children | f735d88b709d |
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" |
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 } |