wok-next diff magicrescue/receipt @ rev 9857

obconf: fix BUILD_DEPENDS (again)
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 16 15:34:53 2011 +0200 (2011-05-16)
parents
children 3765f181a6d5
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/magicrescue/receipt	Mon May 16 15:34:53 2011 +0200
     1.3 @@ -0,0 +1,31 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="magicrescue"
     1.7 +VERSION="1.1.9"
     1.8 +CATEGORY="utilities"
     1.9 +SHORT_DESC="Find and recover deleted files on block devices."
    1.10 +MAINTAINER="slaxemulator@gmail.com"
    1.11 +DEPENDS="perl"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://freshmeat.net/projects/magicrescue/"
    1.14 +WGET_URL="http://www.itu.dk/people/jobr/$PACKAGE/release/$TARBALL"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +	cd $src
    1.20 +	install -d $PWD/_pkg/usr
    1.21 +	./configure \
    1.22 +		--prefix=/usr \
    1.23 +		$CONFIGURE_ARGS &&
    1.24 +	make PREFIX=$PWD/_pkg/usr install
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	mkdir -p $fs/usr/share
    1.31 +	cp -a $_pkg/usr/bin $fs/usr
    1.32 +	cp -a $_pkg/usr/share/magicrescue $fs/usr/share
    1.33 +}
    1.34 +