wok view testdisk/receipt @ rev 15845
dosfstools: update genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 27 11:23:53 2014 +0000 (2014-01-27) |
parents | d55b6910b5e8 |
children | 17b5d4e8e248 |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION-WIP.tar.bz2"
10 WEB_SITE="http://www.cgsecurity.org/wiki/TestDisk"
11 WGET_URL="http://www.cgsecurity.org/$TARBALL"
12 TAGS="recovery rescue"
14 DEPENDS="e2fsprogs ncurses jpeg krb5 zlib libcomerr3 ncursesw ntfsprogs ntfs-3g"
15 BUILD_DEPENDS="e2fsprogs-dev ncurses-dev jpeg-dev ntfsprogs-dev ntfs-3g-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 grep -qs 'define u8' src/hdaccess.c ||
22 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' src/hdaccess.c
23 ./configure --with-ntfs3g $CONFIGURE_ARGS &&
24 make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $install/usr/bin $fs/usr
32 }