/[gentoo-x86]/sys-cluster/rgmanager/rgmanager-3.1.5.ebuild
Gentoo

Contents of /sys-cluster/rgmanager/rgmanager-3.1.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Sep 14 10:47:36 2011 UTC (2 years, 7 months ago) by ultrabug
Branch: MAIN
CVS Tags: HEAD
Version bump along with new Cluster Suite deployment.

(Portage version: 2.1.10.14/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-cluster/rgmanager/rgmanager-2.03.09-r1.ebuild,v 1.1 2011/01/20 09:13:18 xarthisius Exp $
4
5 EAPI=4
6
7 inherit eutils multilib versionator
8
9 CLUSTER_RELEASE="${PV}"
10 MY_P="cluster-${CLUSTER_RELEASE}"
11
12 MAJ_PV="$(get_major_version)"
13 MIN_PV="$(get_version_component_range 2-3)"
14
15 DESCRIPTION="Clustered resource group manager"
16 HOMEPAGE="https://fedorahosted.org/cluster/wiki/HomePage"
17 SRC_URI="https://fedorahosted.org/releases/c/l/cluster/${MY_P}.tar.gz"
18
19 LICENSE="GPL-2"
20 SLOT="0"
21 KEYWORDS="~amd64 ~x86"
22 IUSE="dbus"
23
24 DEPEND="~sys-cluster/libcman-${PV}
25 ~sys-cluster/liblogthread-${PV}
26 ~sys-cluster/libccs-${PV}
27 ~sys-cluster/libdlm-${PV}
28 dev-libs/libxml2
29 =sys-libs/slang-2*
30 dbus? ( sys-apps/dbus )"
31 RDEPEND="${DEPEND}
32 ~sys-cluster/cman-${PV}"
33
34 S=${WORKDIR}/${MY_P}/${PN}
35
36 src_prepare() {
37 epatch "${FILESDIR}/${P}-fix_libxml2.patch"
38 }
39
40 src_configure() {
41 local myopts=""
42 use dbus || myopts="--disable_dbus"
43 cd "${WORKDIR}"/${MY_P}
44 ./configure \
45 --cc="$(tc-getCC)" \
46 --cflags="-Wall" \
47 --libdir=/usr/$(get_libdir) \
48 --disable_kernel_check \
49 --somajor="$MAJ_PV" \
50 --sominor="$MIN_PV" \
51 --dlmlibdir=/usr/$(get_libdir) \
52 --dlmincdir=/usr/include \
53 --cmanlibdir=/usr/$(get_libdir) \
54 --cmanincdir=/usr/include \
55 ${myopts} \
56 || die "configure problem"
57 }
58
59 src_install() {
60 default
61
62 newinitd "${FILESDIR}"/${PN}.initd ${PN}
63 newconfd "${FILESDIR}"/${PN}.confd ${PN}
64 }

  ViewVC Help
Powered by ViewVC 1.1.20