wok-6.x view testdisk/receipt @ rev 14057

tazinst: fix deps
author Dominique Corbex <domcox@slitaz.org>
date Wed Feb 20 10:48:27 2013 +0100 (2013-02-20)
parents b4f50c7392dd
children d55b6910b5e8
line source
1 # SliTaz package receipt.
3 PACKAGE="testdisk"
4 VERSION="6.14"
5 CATEGORY="system-tools"
6 SHORT_DESC="Data recovery tools (testdisk + photorec)."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION-WIP.tar.bz2"
9 WEB_SITE="http://www.cgsecurity.org/wiki/TestDisk"
10 WGET_URL="http://www.cgsecurity.org/$TARBALL"
11 TAGS="recovery rescue"
13 DEPENDS="e2fsprogs ncurses jpeg krb5 zlib libcomerr3 ncursesw ntfs-3g"
14 BUILD_DEPENDS="e2fsprogs-dev ncurses-dev jpeg-dev ntfsprogs-dev ntfs-3g-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 grep -qs 'define u8' src/hdaccess.c ||
21 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' src/hdaccess.c
22 ./configure $CONFIGURE_ARGS &&
23 make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/bin $fs/usr
31 }