wok-next view magicrescue/receipt @ rev 19291

indent, laptop-mode-tools, lbreakout2, lm-sensors, logrotate, magicrescue, mgetty: fix man or doc path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 06 12:08:46 2016 +0200 (2016-07-06)
parents 3765f181a6d5
children d5aab818505e
line source
1 # SliTaz package receipt.
3 PACKAGE="magicrescue"
4 VERSION="1.1.9"
5 CATEGORY="utilities"
6 SHORT_DESC="Find and recover deleted files on block devices."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://freshmeat.net/projects/magicrescue/"
11 WGET_URL="http://www.itu.dk/people/jobr/$PACKAGE/release/$TARBALL"
13 DEPENDS="perl"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 sed -i 's|/man/|/share&|' Makefile*
19 install -d $DESTDIR/usr
20 ./configure \
21 --prefix=/usr \
22 $CONFIGURE_ARGS &&
23 make PREFIX=$DESTDIR/usr install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/share/magicrescue $fs/usr/share
32 }