wok-current view magicrescue/receipt @ rev 25368

libmpd: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 29 10:44:25 2022 +0000 (2022-07-29)
parents 60881e583eec
children
line source
1 # SliTaz package receipt.
3 PACKAGE="magicrescue"
4 VERSION="1.1.10"
5 CATEGORY="utilities"
6 SHORT_DESC="Find and recover deleted files on block devices."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/jbj/magicrescue/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/jbj/$PACKAGE/archive/v$VERSION.tar.gz"
14 DEPENDS="perl"
16 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 sed -i 's|/man/|/share&|' Makefile*
27 ./configure \
28 --prefix=/usr \
29 $CONFIGURE_ARGS &&
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/share/magicrescue $fs/usr/share
40 }