wok-current diff dmraid/receipt @ rev 3941

zile: fix dependencies.
author Dominique Corbex <domcox@users.sourceforge.net>
date Sat Aug 22 12:57:45 2009 +0200 (2009-08-22)
parents
children 3bd377152e56
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dmraid/receipt	Sat Aug 22 12:57:45 2009 +0200
     1.3 @@ -0,0 +1,32 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="dmraid"
     1.7 +VERSION="1.0.0.rc15"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="Device-Mapper Software Raid Tool."
    1.10 +MAINTAINER="pascal;bellard@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.12 +WEB_SITE="http://people.redhat.com/~heinzm/sw/dmraid/"
    1.13 +WGET_URL="$WEB_SITE/src/$TARBALL"
    1.14 +DEPENDS="libdevmapper"
    1.15 +BUILD_DEPENDS="libdevmapper-dev"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	mv $PACKAGE/$VERSION $src && rmdir $PACKAGE 2> /dev/null
    1.21 +	cd $src
    1.22 +	#sed -i 's/sed --quiet/sed/' configure configure.in
    1.23 +	./configure --prefix=/usr --infodir=/usr/share/info \
    1.24 +	--mandir=/usr/share/man \
    1.25 +	$CONFIGURE_ARGS &&
    1.26 +	make
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +	mkdir -p $fs/usr/sbin
    1.33 +	cp -a $src/tools/dmraid $fs/usr/sbin
    1.34 +}
    1.35 +