wok-next view testdisk/receipt @ rev 9678
Fixed foomatic-db-engine. This fix is needed to compile gutenprint since it couldn't find the perl files otherwise.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed May 04 16:48:46 2011 +0000 (2011-05-04) |
parents | 4f9a731119f6 |
children | 91afa4c503ea |
line source
1 # SliTaz package receipt.
3 PACKAGE="testdisk"
4 VERSION="6.11.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="Data recovery tools (testdisk + photorec)."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="e2fsprogs ncurses jpeg krb5 zlib libcomerr3 ncursesw"
9 BUILD_DEPENDS="e2fsprogs-dev ncurses-dev jpeg-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.cgsecurity.org/wiki/TestDisk"
12 WGET_URL="http://www.cgsecurity.org/$TARBALL"
13 TAGS="recovery rescue"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 grep -qs 'define u8' src/hdaccess.c ||
20 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' src/hdaccess.c
21 ./configure \
22 --prefix=/usr \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $_pkg/usr/sbin $fs/usr
34 }