wok view mdadm/receipt @ rev 15112

Add some -Wno-error=unused-but-set-variable
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 14 21:14:37 2013 +0000 (2013-08-14)
parents 02bbaa9d12ba
children 116909b7c87e
line source
1 # SliTaz package receipt.
3 PACKAGE="mdadm"
4 VERSION="2.6.7"
5 CATEGORY="system-tools"
6 SHORT_DESC="Software RAID tools"
7 MAINTAINER="b1+slitaz@nagel.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.us.kernel.org/pub/linux/utils/raid/mdadm/ANNOUNCE"
10 WGET_URL="http://www.us.kernel.org/pub/linux/utils/raid/mdadm/$TARBALL"
12 DEPENDS=""
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 export CFLAGS="-Wno-error=unused-but-set-variable"
19 make mdadm
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/bin
26 cp -a $src/mdadm $fs/usr/bin
27 }