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