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

cssed: fix build
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jan 26 03:04:33 2013 +0000 (2013-01-26)
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 }