summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexys Jacob <ultrabug@gentoo.org>2011-09-14 10:28:16 +0000
committerAlexys Jacob <ultrabug@gentoo.org>2011-09-14 10:28:16 +0000
commitf8c025755b05afc8d768b8bc3d44ee787e7d9543 (patch)
tree124efa483739a05bab0d848fd00191ed8225f3e0 /sys-cluster/libcman
parentInitial import (diff)
downloadgentoo-2-f8c025755b05afc8d768b8bc3d44ee787e7d9543.tar.gz
gentoo-2-f8c025755b05afc8d768b8bc3d44ee787e7d9543.tar.bz2
gentoo-2-f8c025755b05afc8d768b8bc3d44ee787e7d9543.zip
Initial import
(Portage version: 2.1.10.14/cvs/Linux x86_64)
Diffstat (limited to 'sys-cluster/libcman')
-rw-r--r--sys-cluster/libcman/ChangeLog10
-rw-r--r--sys-cluster/libcman/libcman-3.1.5.ebuild47
-rw-r--r--sys-cluster/libcman/metadata.xml6
3 files changed, 63 insertions, 0 deletions
diff --git a/sys-cluster/libcman/ChangeLog b/sys-cluster/libcman/ChangeLog
new file mode 100644
index 000000000000..3a4c8783beb2
--- /dev/null
+++ b/sys-cluster/libcman/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sys-cluster/libcman
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/libcman/ChangeLog,v 1.1 2011/09/14 10:28:16 ultrabug Exp $
+
+*libcman-3.1.5 (14 Sep 2011)
+
+ 14 Sep 2011; Ultrabug <ultrabug@gentoo.org> +libcman-3.1.5.ebuild,
+ +metadata.xml:
+ Initial import
+
diff --git a/sys-cluster/libcman/libcman-3.1.5.ebuild b/sys-cluster/libcman/libcman-3.1.5.ebuild
new file mode 100644
index 000000000000..ff6f882877a1
--- /dev/null
+++ b/sys-cluster/libcman/libcman-3.1.5.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/libcman/libcman-3.1.5.ebuild,v 1.1 2011/09/14 10:28:16 ultrabug Exp $
+
+EAPI=4
+
+inherit linux-info multilib toolchain-funcs versionator
+
+CLUSTER_RELEASE="${PV}"
+MY_P="cluster-${CLUSTER_RELEASE}"
+
+MAJ_PV="$(get_major_version)"
+MIN_PV="$(get_version_component_range 2-3)"
+
+DESCRIPTION="Cluster Manager Library"
+HOMEPAGE="https://fedorahosted.org/cluster/wiki/HomePage"
+SRC_URI="https://fedorahosted.org/releases/c/l/cluster/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="static-libs"
+
+DEPEND=">=sys-kernel/linux-headers-2.6.24"
+RDEPEND="!sys-cluster/cman-lib"
+
+S="${WORKDIR}/${MY_P}/cman/lib"
+
+src_configure() {
+ cd "${WORKDIR}/${MY_P}"
+ ./configure \
+ --cc=$(tc-getCC) \
+ --cflags="-Wall" \
+ --libdir=/usr/$(get_libdir) \
+ --disable_kernel_check \
+ --kernel_src=${KERNEL_DIR} \
+ --somajor="$MAJ_PV" \
+ --sominor="$MIN_PV" \
+ --cmanlibdir=/usr/$(get_libdir) \
+ --cmanincdir=/usr/include \
+ || die "configure failed"
+}
+
+src_install() {
+ default
+ use static-libs || rm -f "${D}"/usr/lib*/*.a
+}
diff --git a/sys-cluster/libcman/metadata.xml b/sys-cluster/libcman/metadata.xml
new file mode 100644
index 000000000000..db8831ecb877
--- /dev/null
+++ b/sys-cluster/libcman/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>cluster</herd>
+ <longdescription>Cluster Manager Library</longdescription>
+</pkgmetadata>