wok annotate mdadm/receipt @ rev 1713
get-*: add ROOT support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 17 08:50:02 2008 +0000 (2008-11-17) |
parents | 821a9fc5077b |
children | 67356fcbb83e |
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" |
pascal@1412 | 7 MAINTAINER="bill@nagel.org" |
Bill@1024 | 8 DEPENDS="" |
Bill@1024 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
Bill@1024 | 10 WEB_SITE="http://www.cse.unsw.edu.au/~neilb/source/mdadm/" |
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 } |