wok-6.x view testdisk/receipt @ rev 22797
Add xsane-locales
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 27 10:28:49 2020 +0100 (2020-01-27) |
parents | a78610b2eb47 |
children | a3b6dd3aac6f |
line source
1 # SliTaz package receipt.
3 PACKAGE="testdisk"
4 VERSION="7.1"
5 CATEGORY="system-tools"
6 TAGS="recovery rescue"
7 SHORT_DESC="Data recovery tools (testdisk + photorec)."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://www.cgsecurity.org/wiki/TestDisk"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="https://www.cgsecurity.org/$TARBALL"
15 SUGGESTED="btrfs-progs dosfstools e2fsprogs f2fs-tools hfsprogs hfsutils \
16 jfsutils lvm2 mtools nilfs-utils ntfsprogs reiser4progs \
17 reiserfsprogs util-linux xfsprogs"
18 DEPENDS="e2fsprogs jpeg krb5 libcomerr3 ncurses ncursesw ntfs-3g ntfsprogs zlib"
19 BUILD_DEPENDS="e2fsprogs-dev jpeg-dev ncurses-dev ntfs-3g-dev ntfsprogs-dev"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 sed -i '/alloc_data_t list_search_space={/{s/={/;/;n;s/.list /list_search_space&/;s/$/;/;nd}' \
25 src/qphotorec.cpp
26 sed -i '/file_info_t dir_list = {/{s/= {/;/;n;s/.list /dir_list&/;s/,$/;/;n;s/.name/dir_list&/;s/$/;/;nd}' \
27 src/qpsearch.cpp
28 sed -i 's/COLOR_RED/COLOR_YELLOW/' \
29 src/intrfn.c
31 ./configure \
32 --with-ntfs3g \
33 $CONFIGURE_ARGS &&
34 make &&
35 make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr
42 cp -a $install/usr/bin $fs/usr
43 }