summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Zoffoli <xmerlin@gentoo.org>2005-03-07 04:20:33 +0000
committerChristian Zoffoli <xmerlin@gentoo.org>2005-03-07 04:20:33 +0000
commit3d4f1ce146ab008b9634baa38162e49599659f70 (patch)
treeb6cf5968a3bd5f3cbda3a93b30c4d5dae35607cb /sys-cluster/magma-plugins
parentadded nogulm use flag to magma-plugins (now we can selective remove gulm supp... (diff)
downloadhistorical-3d4f1ce146ab008b9634baa38162e49599659f70.tar.gz
historical-3d4f1ce146ab008b9634baa38162e49599659f70.tar.bz2
historical-3d4f1ce146ab008b9634baa38162e49599659f70.zip
improved ebuild, added selective gulm module build
Package-Manager: portage-2.0.51-r15
Diffstat (limited to 'sys-cluster/magma-plugins')
-rw-r--r--sys-cluster/magma-plugins/ChangeLog6
-rw-r--r--sys-cluster/magma-plugins/Manifest10
-rw-r--r--sys-cluster/magma-plugins/magma-plugins-1.0_pre5.ebuild23
3 files changed, 24 insertions, 15 deletions
diff --git a/sys-cluster/magma-plugins/ChangeLog b/sys-cluster/magma-plugins/ChangeLog
index c93e280a7790..ea8f855d7608 100644
--- a/sys-cluster/magma-plugins/ChangeLog
+++ b/sys-cluster/magma-plugins/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-cluster/magma-plugins
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/magma-plugins/ChangeLog,v 1.1 2005/01/27 18:27:07 xmerlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/magma-plugins/ChangeLog,v 1.2 2005/03/07 04:20:33 xmerlin Exp $
+
+ 07 Mar 2005; Christian Zoffoli <xmerlin@gentoo.org>
+ magma-plugins-1.0_pre5.ebuild:
+ improved ebuild, added selective gulm module build
*magma-plugins-1.0_pre5 (28 Jan 2005)
diff --git a/sys-cluster/magma-plugins/Manifest b/sys-cluster/magma-plugins/Manifest
index 13a68b167ead..88d161faeeca 100644
--- a/sys-cluster/magma-plugins/Manifest
+++ b/sys-cluster/magma-plugins/Manifest
@@ -1,14 +1,14 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 38b8ebbc7fb2340e7a37fc0fc4a156a7 magma-plugins-1.0_pre5.ebuild 812
+MD5 cf25699250bf2618a9186e16092292b8 magma-plugins-1.0_pre5.ebuild 937
MD5 a64b9a1937a5cfc2fbaf373521f65d47 metadata.xml 223
-MD5 8204ef0bdd0e92112709d23092fd1c11 ChangeLog 384
+MD5 160c89ce3d285cc983d39b5b7a80e7bd ChangeLog 525
MD5 e3f0e3d13fb62dc4b5dbe3cedc614d52 files/digest-magma-plugins-1.0_pre5 73
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
-iD8DBQFB+ZU2gMUyd/cdjWsRApPbAJ9Lrhnki0/aKKp3nusultjBmrb4IACdEm/r
-D4WM8T6Qgl7QeE9cf6dVouM=
-=1MgK
+iD8DBQFCK9aZgMUyd/cdjWsRAs/vAKCInyJvmSAxmMArHqJ4M4iJ+SF92QCgkQbo
+pk41I88VPhhrR5AQ9n4YnlU=
+=F9W9
-----END PGP SIGNATURE-----
diff --git a/sys-cluster/magma-plugins/magma-plugins-1.0_pre5.ebuild b/sys-cluster/magma-plugins/magma-plugins-1.0_pre5.ebuild
index 9de59b5e52f5..fb84856eb815 100644
--- a/sys-cluster/magma-plugins/magma-plugins-1.0_pre5.ebuild
+++ b/sys-cluster/magma-plugins/magma-plugins-1.0_pre5.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/magma-plugins/magma-plugins-1.0_pre5.ebuild,v 1.1 2005/01/27 18:27:07 xmerlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/magma-plugins/magma-plugins-1.0_pre5.ebuild,v 1.2 2005/03/07 04:20:33 xmerlin Exp $
-inherit eutils linux-mod
+inherit linux-mod
MY_PV="${PV/_/-}"
MY_P="${PN}-${MY_PV}"
@@ -14,22 +14,27 @@ SRC_URI="http://people.redhat.com/cfeist/cluster/tgz/${MY_P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~x86"
-IUSE=""
+IUSE="nogulm"
-DEPEND=">=sys-cluster/gulm-1.0_pre2
- >=sys-cluster/dlm-1.0_pre6"
+DEPEND=">=sys-cluster/dlm-1.0_pre6
+ !nogulm? ( >=sys-cluster/gulm-1.0_pre2 )"
S="${WORKDIR}/${MY_P}"
src_compile() {
check_KV
- set_arch_to_kernel
./configure --kernel_src=${KERNEL_DIR} || die
- #epatch ${FILESDIR}/cman.patch || die
- make || die
+
+ for i in cman dumb sm; do
+ emake -C ${i} all
+ done
+ use nogulm || emake -C gulm all
}
src_install() {
- make DESTDIR=${D} install || die
+ for i in cman dumb sm; do
+ make -C ${i} DESTDIR=${D} install || die
+ done
+ use nogulm || make -C gulm DESTDIR=${D} install || die
}