wok-6.x annotate 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 |
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" |
erjo@13474 | 8 TARBALL="$PACKAGE-$VERSION-WIP.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@13477 | 13 DEPENDS="e2fsprogs ncurses jpeg krb5 zlib libcomerr3 ncursesw ntfs-3g" |
pascal@13477 | 14 BUILD_DEPENDS="e2fsprogs-dev ncurses-dev jpeg-dev ntfsprogs-dev ntfs-3g-dev" |
pascal@13477 | 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@13477 | 30 cp -a $install/usr/bin $fs/usr |
pankso@260 | 31 } |