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

Update some WEB_SITE
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 21 12:26:11 2019 +0100 (2019-01-21)
parents 804b0efcafb3
children 1a6247d8730a
line source
1 # SliTaz package receipt.
3 PACKAGE="testdisk"
4 VERSION="7.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Data recovery tools (testdisk + photorec)."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://www.cgsecurity.org/wiki/TestDisk"
11 WGET_URL="https://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"
16 SUGGESTED="btrfs-progs e2fsprogs f2fs-tools dosfstools mtools hfsutils \
17 hfsprogs jfsutils util-linux lvm2 nilfs-utils ntfsprogs reiser4progs \
18 reiserfsprogs xfsprogs"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 sed -i '/alloc_data_t list_search_space={/{s/={/;/;n;s/.list /list_search_space&/;s/$/;/;nd}' src/qphotorec.cpp
24 sed -i '/file_info_t dir_list = {/{s/= {/;/;n;s/.list /dir_list&/;s/,$/;/;n;s/.name/dir_list&/;s/$/;/;nd}' src/qpsearch.cpp
25 sed -i 's/COLOR_RED/COLOR_YELLOW/' src/intrfn.c
26 ./configure --with-ntfs3g $CONFIGURE_ARGS &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/bin $fs/usr
35 }