wok-next view dmraid/receipt @ rev 7924
Removed arch patches for GConf. There not working and i don't think we need them.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Jan 09 22:30:39 2011 +0000 (2011-01-09) |
parents | 964f5d384827 |
children | f5b7e0c47763 |
line source
1 # SliTaz package receipt.
3 PACKAGE="dmraid"
4 VERSION="1.0.0.rc16"
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 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 grep -qs 'define u8' lib/device/scsi.c ||
21 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' lib/device/scsi.c
22 ./configure --prefix=/usr --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/sbin
32 cp -a $src/tools/dmraid $fs/usr/sbin
33 cp -a stuff/grub-dmraid $fs/usr/sbin
34 cp -a stuff/dmraid-start $fs/usr/sbin
35 }