wok annotate mdadm/receipt @ rev 5456
Up ruby (1.9.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 05 17:10:21 2010 +0200 (2010-05-05) |
parents | 67356fcbb83e |
children | 02bbaa9d12ba |
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 DEPENDS="" |
Bill@1024 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@2559 | 10 WEB_SITE="http://www.us.kernel.org/pub/linux/utils/raid/mdadm/ANNOUNCE" |
Bill@1024 | 11 WGET_URL="http://www.us.kernel.org/pub/linux/utils/raid/mdadm/$TARBALL" |
Bill@1024 | 12 |
Bill@1024 | 13 # Rules to configure and make the package. |
Bill@1024 | 14 compile_rules() |
Bill@1024 | 15 { |
Bill@1024 | 16 cd $src |
Bill@1024 | 17 make mdadm |
Bill@1024 | 18 } |
Bill@1024 | 19 |
Bill@1024 | 20 # Rules to gen a SliTaz package suitable for Tazpkg. |
Bill@1024 | 21 genpkg_rules() |
Bill@1024 | 22 { |
Bill@1024 | 23 mkdir -p $fs/usr/bin |
Bill@1024 | 24 cp -a $src/mdadm $fs/usr/bin |
Bill@1024 | 25 strip -s $fs/usr/bin/* |
Bill@1024 | 26 } |