wok-stable diff dmraid/receipt @ rev 9717
slitaz-toolchain: Let create a new toolchain in one command for cookutils
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 09 01:35:10 2011 +0200 (2011-05-09) |
parents | 59ea9409ad8a |
children | 3e4223bbb7bd |
line diff
1.1 --- a/dmraid/receipt Wed Feb 23 00:18:12 2011 +0100 1.2 +++ b/dmraid/receipt Mon May 09 01:35:10 2011 +0200 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="dmraid" 1.7 -VERSION="1.0.0.rc16" 1.8 +VERSION="1.0.0.rc16-3" 1.9 CATEGORY="system-tools" 1.10 SHORT_DESC="Device-Mapper Software Raid Tool." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 @@ -14,14 +14,12 @@ 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 { 1.16 - mv $src/$VERSION/* $src && rmdir $src/$VERSION 2> /dev/null 1.17 + mv $src/$VERSION/$PACKAGE/* $src && rmdir $src/$VERSION 2> /dev/null 1.18 cd $src 1.19 #sed -i 's/sed --quiet/sed/' configure configure.in 1.20 grep -qs 'define u8' lib/device/scsi.c || 1.21 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' lib/device/scsi.c 1.22 - ./configure --prefix=/usr --infodir=/usr/share/info \ 1.23 - --mandir=/usr/share/man \ 1.24 - $CONFIGURE_ARGS && 1.25 + ./configure && 1.26 make 1.27 } 1.28