wok-6.x annotate dmraid/receipt @ rev 3934

Add dmraid
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 20 21:28:31 2009 +0200 (2009-08-20)
parents
children 3bd377152e56
rev   line source
pascal@3934 1 # SliTaz package receipt.
pascal@3934 2
pascal@3934 3 PACKAGE="dmraid"
pascal@3934 4 VERSION="1.0.0.rc15"
pascal@3934 5 CATEGORY="system-tools"
pascal@3934 6 SHORT_DESC="Device-Mapper Software Raid Tool."
pascal@3934 7 MAINTAINER="pascal;bellard@slitaz.org"
pascal@3934 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@3934 9 WEB_SITE="http://people.redhat.com/~heinzm/sw/dmraid/"
pascal@3934 10 WGET_URL="$WEB_SITE/src/$TARBALL"
pascal@3934 11 DEPENDS="libdevmapper"
pascal@3934 12 BUILD_DEPENDS="libdevmapper-dev"
pascal@3934 13
pascal@3934 14 # Rules to configure and make the package.
pascal@3934 15 compile_rules()
pascal@3934 16 {
pascal@3934 17 mv $PACKAGE/$VERSION $src && rmdir $PACKAGE 2> /dev/null
pascal@3934 18 cd $src
pascal@3934 19 #sed -i 's/sed --quiet/sed/' configure configure.in
pascal@3934 20 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@3934 21 --mandir=/usr/share/man \
pascal@3934 22 $CONFIGURE_ARGS &&
pascal@3934 23 make
pascal@3934 24 }
pascal@3934 25
pascal@3934 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@3934 27 genpkg_rules()
pascal@3934 28 {
pascal@3934 29 mkdir -p $fs/usr/sbin
pascal@3934 30 cp -a $src/tools/dmraid $fs/usr/sbin
pascal@3934 31 }
pascal@3934 32