summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexys Jacob <ultrabug@gentoo.org>2011-09-14 10:34:42 +0000
committerAlexys Jacob <ultrabug@gentoo.org>2011-09-14 10:34:42 +0000
commit791422831551e937537177009bcde896a695e6f0 (patch)
tree08ec45031a93057484b14006d62aa1fa8d299e5f /sys-cluster/liblogthread
parentBumped alpha and removed deprecated (diff)
downloadhistorical-791422831551e937537177009bcde896a695e6f0.tar.gz
historical-791422831551e937537177009bcde896a695e6f0.tar.bz2
historical-791422831551e937537177009bcde896a695e6f0.zip
Initial import
Package-Manager: portage-2.1.10.14/cvs/Linux x86_64
Diffstat (limited to 'sys-cluster/liblogthread')
-rw-r--r--sys-cluster/liblogthread/ChangeLog10
-rw-r--r--sys-cluster/liblogthread/liblogthread-3.1.5.ebuild47
-rw-r--r--sys-cluster/liblogthread/metadata.xml6
3 files changed, 63 insertions, 0 deletions
diff --git a/sys-cluster/liblogthread/ChangeLog b/sys-cluster/liblogthread/ChangeLog
new file mode 100644
index 000000000000..2aa741006c07
--- /dev/null
+++ b/sys-cluster/liblogthread/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sys-cluster/liblogthread
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/liblogthread/ChangeLog,v 1.1 2011/09/14 10:14:05 ultrabug Exp $
+
+*liblogthread-3.1.5 (14 Sep 2011)
+
+ 14 Sep 2011; Ultrabug <ultrabug@gentoo.org> +liblogthread-3.1.5.ebuild,
+ +metadata.xml:
+ Initial import
+
diff --git a/sys-cluster/liblogthread/liblogthread-3.1.5.ebuild b/sys-cluster/liblogthread/liblogthread-3.1.5.ebuild
new file mode 100644
index 000000000000..cdbd83029734
--- /dev/null
+++ b/sys-cluster/liblogthread/liblogthread-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/liblogthread/liblogthread-3.1.5.ebuild,v 1.1 2011/09/14 10:14:05 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="Thread-Safe Syslog Logging 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=""
+DEPEND=">=sys-kernel/linux-headers-2.6.24"
+
+S="${WORKDIR}/${MY_P}/common/${PN}"
+
+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" \
+ --logtlibdir=/usr/$(get_libdir) \
+ --logtincdir=/usr/include \
+ || die "configure problem"
+}
+
+src_install() {
+ default
+ use static-libs || rm -f "${D}"/usr/lib*/*.a
+}
diff --git a/sys-cluster/liblogthread/metadata.xml b/sys-cluster/liblogthread/metadata.xml
new file mode 100644
index 000000000000..cb158c07e52f
--- /dev/null
+++ b/sys-cluster/liblogthread/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>Thread-Safe Syslog Logging Library</longdescription>
+</pkgmetadata>