wok view testdisk/receipt @ rev 20188

Add xfce4-whiskermenu-plugin
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 01 20:06:00 2018 +0100 (2018-02-01)
parents 87ab725ce92e
children a78610b2eb47
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="http://www.cgsecurity.org/wiki/TestDisk"
11 WGET_URL="http://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 }