wok-next annotate 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 |
rev | line source |
---|---|
Bill@1024 | 1 # SliTaz package receipt. |
Bill@1024 | 2 |
Bill@1024 | 3 PACKAGE="mdadm" |
Bill@1024 | 4 VERSION="2.6.7" |
Bill@1024 | 5 CATEGORY="system-tools" |
Bill@1024 | 6 SHORT_DESC="Software RAID tools" |
b1+slitaz@1802 | 7 MAINTAINER="b1+slitaz@nagel.org" |
Bill@1024 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@2559 | 9 WEB_SITE="http://www.us.kernel.org/pub/linux/utils/raid/mdadm/ANNOUNCE" |
Bill@1024 | 10 WGET_URL="http://www.us.kernel.org/pub/linux/utils/raid/mdadm/$TARBALL" |
Bill@1024 | 11 |
pascal@15112 | 12 DEPENDS="" |
pascal@15112 | 13 |
Bill@1024 | 14 # Rules to configure and make the package. |
Bill@1024 | 15 compile_rules() |
Bill@1024 | 16 { |
Bill@1024 | 17 cd $src |
pascal@15112 | 18 export CFLAGS="-Wno-error=unused-but-set-variable" |
Bill@1024 | 19 make mdadm |
Bill@1024 | 20 } |
Bill@1024 | 21 |
Bill@1024 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
Bill@1024 | 23 genpkg_rules() |
Bill@1024 | 24 { |
Bill@1024 | 25 mkdir -p $fs/usr/bin |
Bill@1024 | 26 cp -a $src/mdadm $fs/usr/bin |
Bill@1024 | 27 } |