summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Noël Rivasseau <elvanor@gentoo.org>2010-08-08 12:03:15 +0000
committerJean-Noël Rivasseau <elvanor@gentoo.org>2010-08-08 12:03:15 +0000
commit2b4ca3ac4953159962b65dfd03fcb8fe2af1afa4 (patch)
treeecf6ca283a9c7b3654f1f13f176db27d1e05486f /dev-libs/log4c/log4c-1.2.1.ebuild
parentStable on amd64. Security bug #301828 (diff)
downloadgentoo-2-2b4ca3ac4953159962b65dfd03fcb8fe2af1afa4.tar.gz
gentoo-2-2b4ca3ac4953159962b65dfd03fcb8fe2af1afa4.tar.bz2
gentoo-2-2b4ca3ac4953159962b65dfd03fcb8fe2af1afa4.zip
Inital import from #97708.
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'dev-libs/log4c/log4c-1.2.1.ebuild')
-rw-r--r--dev-libs/log4c/log4c-1.2.1.ebuild53
1 files changed, 53 insertions, 0 deletions
diff --git a/dev-libs/log4c/log4c-1.2.1.ebuild b/dev-libs/log4c/log4c-1.2.1.ebuild
new file mode 100644
index 000000000000..6d955b2893a4
--- /dev/null
+++ b/dev-libs/log4c/log4c-1.2.1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/log4c/log4c-1.2.1.ebuild,v 1.1 2010/08/08 12:03:15 elvanor Exp $
+
+EAPI=2
+
+inherit eutils
+
+DESCRIPTION="Log4c is a library of C for flexible logging to files, syslog and other destinations"
+HOMEPAGE="http://log4c.sourceforge.net/"
+SRC_URI="mirror://sourceforge/log4c/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug doc examples +expat"
+
+RDEPEND="media-gfx/graphviz
+ expat? ( dev-libs/expat )"
+
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+}
+
+src_configure() {
+ local myconf
+ myconf="${myconf} --disable-expattest"
+
+ econf \
+ $(use_enable doc doxygen) \
+ $(use_enable debug) \
+ $(use_enable expat) \
+ ${myconf} || die "configure failed"
+}
+
+src_compile() {
+ emake || die "make failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "install failed"
+
+ dodoc AUTHORS ChangeLog NEWS README TODO
+
+ if use examples; then
+ insinto "/usr/share/doc/${PF}/examples"
+ doins -r examples/*
+ fi
+}