wok annotate testdisk/receipt @ rev 13295

Add libQtDeclarative
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 28 13:39:20 2012 +0200 (2012-08-28)
parents 91a13c17b446
children b4f50c7392dd
rev   line source
pankso@260 1 # SliTaz package receipt.
pankso@260 2
pankso@260 3 PACKAGE="testdisk"
devl547@11334 4 VERSION="6.13"
pankso@260 5 CATEGORY="system-tools"
pankso@260 6 SHORT_DESC="Data recovery tools (testdisk + photorec)."
pankso@260 7 MAINTAINER="pankso@slitaz.org"
pankso@260 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@260 9 WEB_SITE="http://www.cgsecurity.org/wiki/TestDisk"
pankso@260 10 WGET_URL="http://www.cgsecurity.org/$TARBALL"
jozee@4973 11 TAGS="recovery rescue"
pankso@260 12
pascal@13163 13 DEPENDS="e2fsprogs ncurses ntfs-3g jpeg krb5 zlib libcomerr3 ncursesw"
pascal@13163 14 BUILD_DEPENDS="e2fsprogs-dev ncurses-dev ntfs-3g-dev jpeg-dev"
pascal@13162 15
pankso@260 16 # Rules to configure and make the package.
pankso@260 17 compile_rules()
pankso@260 18 {
pankso@260 19 cd $src
pascal@6113 20 grep -qs 'define u8' src/hdaccess.c ||
pascal@6113 21 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' src/hdaccess.c
slaxemulator@10074 22 ./configure $CONFIGURE_ARGS &&
slaxemulator@10074 23 make && make install
pankso@260 24 }
pankso@260 25
pankso@260 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@260 27 genpkg_rules()
pankso@260 28 {
pankso@260 29 mkdir -p $fs/usr
pascal@10468 30 cp -a $_pkg/usr/bin $fs/usr
pankso@260 31 }