wok annotate 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 |
rev | line source |
---|---|
pankso@260 | 1 # SliTaz package receipt. |
pankso@260 | 2 |
pankso@260 | 3 PACKAGE="testdisk" |
devl547@11334 | 4 VERSION="6.13" |
pankso@260 | 5 CATEGORY="system-tools" |
pankso@260 | 6 SHORT_DESC="Data recovery tools (testdisk + photorec)." |
pankso@260 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@5032 | 8 DEPENDS="e2fsprogs ncurses jpeg krb5 zlib libcomerr3 ncursesw" |
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" |
jozee@4973 | 13 TAGS="recovery rescue" |
pankso@260 | 14 |
pascal@13162 | 15 BUILD_DEPENDS="ncursesw-dev ntfs-3g-dev e2fsprogs-dev jpeg-dev" |
pascal@13162 | 16 DEPENDS="ncursesw ntfs-3g e2fsprogs jpeg" |
pascal@13162 | 17 |
pankso@260 | 18 # Rules to configure and make the package. |
pankso@260 | 19 compile_rules() |
pankso@260 | 20 { |
pankso@260 | 21 cd $src |
pascal@6113 | 22 grep -qs 'define u8' src/hdaccess.c || |
pascal@6113 | 23 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' src/hdaccess.c |
slaxemulator@10074 | 24 ./configure $CONFIGURE_ARGS && |
slaxemulator@10074 | 25 make && make install |
pankso@260 | 26 } |
pankso@260 | 27 |
pankso@260 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@260 | 29 genpkg_rules() |
pankso@260 | 30 { |
pankso@260 | 31 mkdir -p $fs/usr |
pascal@10468 | 32 cp -a $_pkg/usr/bin $fs/usr |
pankso@260 | 33 } |