wok-current annotate testdisk/receipt @ rev 13474
Up: testdisk (6.14)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Tue Oct 09 16:11:30 2012 +0200 (2012-10-09) |
parents | b5cefe1e1929 |
children | 44b93d6a30c8 |
rev | line source |
---|---|
pankso@260 | 1 # SliTaz package receipt. |
pankso@260 | 2 |
pankso@260 | 3 PACKAGE="testdisk" |
erjo@13474 | 4 VERSION="6.14" |
pankso@260 | 5 CATEGORY="system-tools" |
pankso@260 | 6 SHORT_DESC="Data recovery tools (testdisk + photorec)." |
pankso@260 | 7 MAINTAINER="pankso@slitaz.org" |
erjo@13474 | 8 DEPENDS="e2fsprogs ncurses jpeg krb5 zlib libcomerr3 ncursesw" |
erjo@13474 | 9 BUILD_DEPENDS="e2fsprogs-dev ncurses-dev jpeg-dev" |
erjo@13474 | 10 TARBALL="$PACKAGE-$VERSION-WIP.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 |
pankso@260 | 15 # Rules to configure and make the package. |
pankso@260 | 16 compile_rules() |
pankso@260 | 17 { |
pankso@260 | 18 cd $src |
pascal@6113 | 19 grep -qs 'define u8' src/hdaccess.c || |
pascal@6113 | 20 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' src/hdaccess.c |
slaxemulator@10074 | 21 ./configure $CONFIGURE_ARGS && |
slaxemulator@10074 | 22 make && make install |
pankso@260 | 23 } |
pankso@260 | 24 |
pankso@260 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@260 | 26 genpkg_rules() |
pankso@260 | 27 { |
pankso@260 | 28 mkdir -p $fs/usr |
pascal@10468 | 29 cp -a $_pkg/usr/bin $fs/usr |
pankso@260 | 30 } |