wok-next view testdisk/receipt @ rev 13312

Add pcsc-lite
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 29 13:09:27 2012 +0200 (2012-08-29)
parents 91a13c17b446
children b4f50c7392dd
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 TARBALL="$PACKAGE-$VERSION.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 ntfs-3g jpeg krb5 zlib libcomerr3 ncursesw"
14 BUILD_DEPENDS="e2fsprogs-dev ncurses-dev ntfs-3g-dev jpeg-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 $_pkg/usr/bin $fs/usr
31 }