wok-stable view mdadm/receipt @ rev 8504
gcc+gcj: remove build dir after packing files, don't exit but return
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Feb 12 02:18:58 2011 +0100 (2011-02-12) |
parents | 67356fcbb83e |
children | 02bbaa9d12ba |
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 DEPENDS=""
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.us.kernel.org/pub/linux/utils/raid/mdadm/ANNOUNCE"
11 WGET_URL="http://www.us.kernel.org/pub/linux/utils/raid/mdadm/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 make mdadm
18 }
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 mkdir -p $fs/usr/bin
24 cp -a $src/mdadm $fs/usr/bin
25 strip -s $fs/usr/bin/*
26 }