summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexys Jacob <ultrabug@gentoo.org>2011-09-14 10:18:12 +0000
committerAlexys Jacob <ultrabug@gentoo.org>2011-09-14 10:18:12 +0000
commit23ae9e30232c72c317e64d5ba2b35d7068bbac77 (patch)
tree1fe8638cf0e2d87498407e2e361a7235b95337a8 /sys-cluster
parentInitial import (diff)
downloadgentoo-2-23ae9e30232c72c317e64d5ba2b35d7068bbac77.tar.gz
gentoo-2-23ae9e30232c72c317e64d5ba2b35d7068bbac77.tar.bz2
gentoo-2-23ae9e30232c72c317e64d5ba2b35d7068bbac77.zip
Initial import
(Portage version: 2.1.10.14/cvs/Linux x86_64)
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/libccs/ChangeLog10
-rw-r--r--sys-cluster/libccs/libccs-3.1.5.ebuild51
-rw-r--r--sys-cluster/libccs/metadata.xml6
3 files changed, 67 insertions, 0 deletions
diff --git a/sys-cluster/libccs/ChangeLog b/sys-cluster/libccs/ChangeLog
new file mode 100644
index 000000000000..f76af98aa402
--- /dev/null
+++ b/sys-cluster/libccs/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sys-cluster/libccs
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/libccs/ChangeLog,v 1.1 2011/09/14 10:18:12 ultrabug Exp $
+
+*libccs-3.1.5 (14 Sep 2011)
+
+ 14 Sep 2011; Ultrabug <ultrabug@gentoo.org> +libccs-3.1.5.ebuild,
+ +metadata.xml:
+ Initial import
+
diff --git a/sys-cluster/libccs/libccs-3.1.5.ebuild b/sys-cluster/libccs/libccs-3.1.5.ebuild
new file mode 100644
index 000000000000..1fef34f9327e
--- /dev/null
+++ b/sys-cluster/libccs/libccs-3.1.5.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/libccs/libccs-3.1.5.ebuild,v 1.1 2011/09/14 10:18:12 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 Configuration System 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"
+
+RDEPEND="
+ sys-cluster/corosync
+ dev-libs/libxml2
+ !sys-cluster/ccs"
+DEPEND="${RDEPEND}
+ >=sys-kernel/linux-headers-2.6.24"
+
+S="${WORKDIR}/${MY_P}/config/libs"
+
+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" \
+ --ccslibdir=/usr/$(get_libdir) \
+ --ccsincdir=/usr/include \
+ || die "configure problem"
+}
+
+src_install() {
+ default
+ use static-libs || rm -f "${D}"/usr/lib*/*.a
+}
diff --git a/sys-cluster/libccs/metadata.xml b/sys-cluster/libccs/metadata.xml
new file mode 100644
index 000000000000..70d5e9131e5e
--- /dev/null
+++ b/sys-cluster/libccs/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 Configuration System Library</longdescription>
+</pkgmetadata>