wok-current view testdisk/receipt @ rev 14693

python-edje-dev: Up to 1.7.0-3
author Dominique Corbex <domcox@slitaz.org>
date Thu Jun 06 22:09:32 2013 +0200 (2013-06-06)
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 }