wok-6.x view testdisk/receipt @ rev 13162

testdisk: add ntfs support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 29 09:55:47 2012 +0200 (2012-07-29)
parents 633d59edeb4a
children b5cefe1e1929
line source
1 # SliTaz package receipt.
3 PACKAGE="testdisk"
4 VERSION="6.13"
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 BUILD_DEPENDS="ncursesw-dev ntfs-3g-dev e2fsprogs-dev jpeg-dev"
16 DEPENDS="ncursesw ntfs-3g e2fsprogs jpeg"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 grep -qs 'define u8' src/hdaccess.c ||
23 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' src/hdaccess.c
24 ./configure $CONFIGURE_ARGS &&
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $_pkg/usr/bin $fs/usr
33 }