diff options
author | Christian Zoffoli <xmerlin@gentoo.org> | 2005-03-07 04:20:33 +0000 |
---|---|---|
committer | Christian Zoffoli <xmerlin@gentoo.org> | 2005-03-07 04:20:33 +0000 |
commit | e4283dfd9a01e9e7c04ee948824b99c909b304b2 (patch) | |
tree | 985dbce351ab8c866f0c1c26f71b93a175621778 /sys-cluster/magma-plugins | |
parent | added nogulm use flag to magma-plugins (now we can selective remove gulm supp... (diff) | |
download | gentoo-2-e4283dfd9a01e9e7c04ee948824b99c909b304b2.tar.gz gentoo-2-e4283dfd9a01e9e7c04ee948824b99c909b304b2.tar.bz2 gentoo-2-e4283dfd9a01e9e7c04ee948824b99c909b304b2.zip |
improved ebuild, added selective gulm module build
(Portage version: 2.0.51-r15)
Diffstat (limited to 'sys-cluster/magma-plugins')
-rw-r--r-- | sys-cluster/magma-plugins/ChangeLog | 6 | ||||
-rw-r--r-- | sys-cluster/magma-plugins/magma-plugins-1.0_pre5.ebuild | 23 |
2 files changed, 19 insertions, 10 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/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 } |