wok-6.x view mdadm/receipt @ rev 7390

flam3: fix compile_rules (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 26 11:08:54 2010 +0100 (2010-11-26)
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 }