wok-6.x diff magicrescue/receipt @ rev 15584

Add some licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 30 17:02:58 2013 +0000 (2013-11-30)
parents dfde5deae74f
children e8c84b81fa04
line diff
     1.1 --- a/magicrescue/receipt	Sun Dec 05 09:41:54 2010 +0000
     1.2 +++ b/magicrescue/receipt	Sat Nov 30 17:02:58 2013 +0000
     1.3 @@ -5,27 +5,29 @@
     1.4  CATEGORY="utilities"
     1.5  SHORT_DESC="Find and recover deleted files on block devices."
     1.6  MAINTAINER="slaxemulator@gmail.com"
     1.7 -DEPENDS="perl"
     1.8 +LICENSE="GPL2"
     1.9  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.10  WEB_SITE="http://freshmeat.net/projects/magicrescue/"
    1.11  WGET_URL="http://www.itu.dk/people/jobr/$PACKAGE/release/$TARBALL"
    1.12  
    1.13 +DEPENDS="perl"
    1.14 +
    1.15  # Rules to configure and make the package.
    1.16  compile_rules()
    1.17  {
    1.18  	cd $src
    1.19 -	install -d $PWD/_pkg/usr
    1.20 +	install -d $DESTDIR/usr
    1.21  	./configure \
    1.22  		--prefix=/usr \
    1.23  		$CONFIGURE_ARGS &&
    1.24 -	make PREFIX=$PWD/_pkg/usr install
    1.25 +	make PREFIX=$DESTDIR/usr install
    1.26  }
    1.27  
    1.28  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.29  genpkg_rules()
    1.30  {
    1.31  	mkdir -p $fs/usr/share
    1.32 -	cp -a $_pkg/usr/bin $fs/usr
    1.33 -	cp -a $_pkg/usr/share/magicrescue $fs/usr/share
    1.34 +	cp -a $install/usr/bin $fs/usr
    1.35 +	cp -a $install/usr/share/magicrescue $fs/usr/share
    1.36  }
    1.37