wok-6.x annotate magicrescue/receipt @ rev 18428

shutdown: add simple shutdown wrapper script for other tool compatibility
author Nathan Neulinger <nneul@neulinger.org>
date Mon Sep 21 13:17:35 2015 +0000 (2015-09-21)
parents dfde5deae74f
children e8c84b81fa04
rev   line source
slaxemulator@7520 1 # SliTaz package receipt.
slaxemulator@7520 2
slaxemulator@7520 3 PACKAGE="magicrescue"
slaxemulator@7520 4 VERSION="1.1.9"
slaxemulator@7520 5 CATEGORY="utilities"
slaxemulator@7520 6 SHORT_DESC="Find and recover deleted files on block devices."
slaxemulator@7520 7 MAINTAINER="slaxemulator@gmail.com"
pascal@15584 8 LICENSE="GPL2"
slaxemulator@7520 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@7520 10 WEB_SITE="http://freshmeat.net/projects/magicrescue/"
slaxemulator@7520 11 WGET_URL="http://www.itu.dk/people/jobr/$PACKAGE/release/$TARBALL"
slaxemulator@7520 12
pascal@15584 13 DEPENDS="perl"
pascal@15584 14
slaxemulator@7520 15 # Rules to configure and make the package.
slaxemulator@7520 16 compile_rules()
slaxemulator@7520 17 {
slaxemulator@7520 18 cd $src
pascal@15584 19 install -d $DESTDIR/usr
slaxemulator@7520 20 ./configure \
slaxemulator@7520 21 --prefix=/usr \
slaxemulator@7520 22 $CONFIGURE_ARGS &&
pascal@15584 23 make PREFIX=$DESTDIR/usr install
slaxemulator@7520 24 }
slaxemulator@7520 25
slaxemulator@7520 26 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7520 27 genpkg_rules()
slaxemulator@7520 28 {
slaxemulator@7520 29 mkdir -p $fs/usr/share
pascal@15584 30 cp -a $install/usr/bin $fs/usr
pascal@15584 31 cp -a $install/usr/share/magicrescue $fs/usr/share
slaxemulator@7520 32 }
slaxemulator@7520 33