wok annotate testdisk/receipt @ rev 20040

Add: Kleanny v1.0 By The SliTaz DevTeam.
author Leonardo Laporte <hackdorte@yandex.com>
date Sun Aug 27 10:17:57 2017 -0300 (2017-08-27)
parents 87ab725ce92e
children a78610b2eb47
rev   line source
pankso@260 1 # SliTaz package receipt.
pankso@260 2
pankso@260 3 PACKAGE="testdisk"
pascal@18093 4 VERSION="7.0"
pankso@260 5 CATEGORY="system-tools"
pankso@260 6 SHORT_DESC="Data recovery tools (testdisk + photorec)."
pankso@260 7 MAINTAINER="pankso@slitaz.org"
pascal@15001 8 LICENSE="GPL2"
pascal@18093 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@260 10 WEB_SITE="http://www.cgsecurity.org/wiki/TestDisk"
pankso@260 11 WGET_URL="http://www.cgsecurity.org/$TARBALL"
jozee@4973 12 TAGS="recovery rescue"
pankso@260 13
pascal@14165 14 DEPENDS="e2fsprogs ncurses jpeg krb5 zlib libcomerr3 ncursesw ntfsprogs ntfs-3g"
pascal@13477 15 BUILD_DEPENDS="e2fsprogs-dev ncurses-dev jpeg-dev ntfsprogs-dev ntfs-3g-dev"
pascal@18703 16 SUGGESTED="btrfs-progs e2fsprogs f2fs-tools dosfstools mtools hfsutils \
pascal@18703 17 hfsprogs jfsutils util-linux lvm2 nilfs-utils ntfsprogs reiser4progs \
pascal@18703 18 reiserfsprogs xfsprogs"
pascal@13477 19
pankso@260 20 # Rules to configure and make the package.
pankso@260 21 compile_rules()
pankso@260 22 {
pascal@19726 23 sed -i '/alloc_data_t list_search_space={/{s/={/;/;n;s/.list /list_search_space&/;s/$/;/;nd}' src/qphotorec.cpp
pascal@19726 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
pascal@18214 25 sed -i 's/COLOR_RED/COLOR_YELLOW/' src/intrfn.c
pascal@14165 26 ./configure --with-ntfs3g $CONFIGURE_ARGS &&
slaxemulator@10074 27 make && make install
pankso@260 28 }
pankso@260 29
pankso@260 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@260 31 genpkg_rules()
pankso@260 32 {
pankso@260 33 mkdir -p $fs/usr
pascal@13477 34 cp -a $install/usr/bin $fs/usr
pankso@260 35 }