wok view magicrescue/receipt @ rev 20477

Rebuild perl in 32 bits
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 17 20:44:06 2018 +0200 (2018-10-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 }