wok-6.x view testdisk/receipt @ rev 11060
pcmciautils: Fixed WGET_URL.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Oct 17 00:27:48 2011 +0000 (2011-10-17) |
parents | 91afa4c503ea |
children | 633d59edeb4a |
line source
1 # SliTaz package receipt.
3 PACKAGE="testdisk"
4 VERSION="6.12"
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 }