wok-4.x view testdisk/receipt @ rev 11334

Up: testdisk (6.13)
author Alexander Medvedev <devl547@gmail.com>
date Fri Nov 25 08:15:11 2011 +0000 (2011-11-25)
parents 52ccdbc5f29f
children
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 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 grep -qs 'define u8' src/hdaccess.c ||
20 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' src/hdaccess.c
21 ./configure $CONFIGURE_ARGS &&
22 make && make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/usr/bin $fs/usr
30 }