wok-current view testdisk/receipt @ rev 14243

lirc: remove incompatible drivers
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 23 10:06:31 2013 +0100 (2013-03-23)
parents 44b93d6a30c8
children 408c87fa22ca
line source
1 # SliTaz package receipt.
3 PACKAGE="testdisk"
4 VERSION="6.14"
5 CATEGORY="system-tools"
6 SHORT_DESC="Data recovery tools (testdisk + photorec)."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION-WIP.tar.bz2"
9 WEB_SITE="http://www.cgsecurity.org/wiki/TestDisk"
10 WGET_URL="http://www.cgsecurity.org/$TARBALL"
11 TAGS="recovery rescue"
13 DEPENDS="e2fsprogs ncurses jpeg krb5 zlib libcomerr3 ncursesw ntfsprogs ntfs-3g"
14 BUILD_DEPENDS="e2fsprogs-dev ncurses-dev jpeg-dev ntfsprogs-dev ntfs-3g-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 grep -qs 'define u8' src/hdaccess.c ||
21 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' src/hdaccess.c
22 ./configure --with-ntfs3g $CONFIGURE_ARGS &&
23 make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/bin $fs/usr
31 }