wok-6.x annotate testdisk/receipt @ rev 24666
created recipes for double-conversion and double-conversion-dev
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 11 15:40:49 2022 +0100 (2022-03-11) |
parents | 1a6247d8730a |
children |
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 |
pascal@24093 | 21 current_version() |
pascal@24093 | 22 { |
pascal@24093 | 23 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24093 | 24 sed '/Download/!d;/^<a /!d;s|.*<b>||;s|</.*||' |
pascal@24093 | 25 } |
pascal@24093 | 26 |
pankso@260 | 27 # Rules to configure and make the package. |
pankso@260 | 28 compile_rules() |
pankso@260 | 29 { |
Hans-G?nter@22025 | 30 sed -i '/alloc_data_t list_search_space={/{s/={/;/;n;s/.list /list_search_space&/;s/$/;/;nd}' \ |
Hans-G?nter@22025 | 31 src/qphotorec.cpp |
Hans-G?nter@22025 | 32 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 | 33 src/qpsearch.cpp |
Hans-G?nter@22025 | 34 sed -i 's/COLOR_RED/COLOR_YELLOW/' \ |
Hans-G?nter@22025 | 35 src/intrfn.c |
Hans-G?nter@22025 | 36 |
Hans-G?nter@22025 | 37 ./configure \ |
Hans-G?nter@22025 | 38 --with-ntfs3g \ |
Hans-G?nter@22025 | 39 $CONFIGURE_ARGS && |
Hans-G?nter@22025 | 40 make && |
Hans-G?nter@22025 | 41 make install |
pankso@260 | 42 } |
pankso@260 | 43 |
pankso@260 | 44 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@260 | 45 genpkg_rules() |
pankso@260 | 46 { |
pankso@260 | 47 mkdir -p $fs/usr |
pascal@13477 | 48 cp -a $install/usr/bin $fs/usr |
pankso@260 | 49 } |