wok-4.x view dmraid/receipt @ rev 4813
Up: claws-mail-spam_report(0.3.10)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Tue Jan 19 01:07:42 2010 +0100 (2010-01-19) |
parents | 8db9118bfcb7 |
children | 964f5d384827 |
line source
1 # SliTaz package receipt.
3 PACKAGE="dmraid"
4 VERSION="1.0.0.rc15"
5 CATEGORY="system-tools"
6 SHORT_DESC="Device-Mapper Software Raid Tool."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://people.redhat.com/~heinzm/sw/dmraid/"
10 WGET_URL="$WEB_SITE/src/$TARBALL"
11 DEPENDS="libdevmapper linux-md"
12 BUILD_DEPENDS="libdevmapper-dev"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 mv $PACKAGE/$VERSION $src && rmdir $PACKAGE 2> /dev/null
18 cd $src
19 #sed -i 's/sed --quiet/sed/' configure configure.in
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/sbin
30 cp -a $src/tools/dmraid $fs/usr/sbin
31 cp -a stuff/grub-dmraid $fs/usr/sbin
32 cp -a stuff/dmraid-start $fs/usr/sbin
33 }