wok view magicrescue/receipt @ rev 19563
linld: fix previous commit
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 17 19:13:29 2016 +0100 (2016-12-17) |
parents | 3765f181a6d5 |
children | 60881e583eec |
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 }