wok-next view testdisk/receipt @ rev 8294

Up: vlc to 1.1.7.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Jan 31 18:17:19 2011 +0000 (2011-01-31)
parents 4f9a731119f6
children 91afa4c503ea
line source
1 # SliTaz package receipt.
3 PACKAGE="testdisk"
4 VERSION="6.11.3"
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 \
22 --prefix=/usr \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $_pkg/usr/sbin $fs/usr
34 }