wok annotate testdisk/receipt @ rev 16350

Up: tazweb (1.9) - Fixes and editable bookmarks!
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 13 02:34:25 2014 +0200 (2014-04-13)
parents d55b6910b5e8
children 17b5d4e8e248
rev   line source
pankso@260 1 # SliTaz package receipt.
pankso@260 2
pankso@260 3 PACKAGE="testdisk"
erjo@13474 4 VERSION="6.14"
pankso@260 5 CATEGORY="system-tools"
pankso@260 6 SHORT_DESC="Data recovery tools (testdisk + photorec)."
pankso@260 7 MAINTAINER="pankso@slitaz.org"
pascal@15001 8 LICENSE="GPL2"
erjo@13474 9 TARBALL="$PACKAGE-$VERSION-WIP.tar.bz2"
pankso@260 10 WEB_SITE="http://www.cgsecurity.org/wiki/TestDisk"
pankso@260 11 WGET_URL="http://www.cgsecurity.org/$TARBALL"
jozee@4973 12 TAGS="recovery rescue"
pankso@260 13
pascal@14165 14 DEPENDS="e2fsprogs ncurses jpeg krb5 zlib libcomerr3 ncursesw ntfsprogs ntfs-3g"
pascal@13477 15 BUILD_DEPENDS="e2fsprogs-dev ncurses-dev jpeg-dev ntfsprogs-dev ntfs-3g-dev"
pascal@13477 16
pankso@260 17 # Rules to configure and make the package.
pankso@260 18 compile_rules()
pankso@260 19 {
pankso@260 20 cd $src
pascal@6113 21 grep -qs 'define u8' src/hdaccess.c ||
pascal@6113 22 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' src/hdaccess.c
pascal@14165 23 ./configure --with-ntfs3g $CONFIGURE_ARGS &&
slaxemulator@10074 24 make && make install
pankso@260 25 }
pankso@260 26
pankso@260 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@260 28 genpkg_rules()
pankso@260 29 {
pankso@260 30 mkdir -p $fs/usr
pascal@13477 31 cp -a $install/usr/bin $fs/usr
pankso@260 32 }