summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/log4c/log4c-1.0.12.ebuild')
-rw-r--r--dev-libs/log4c/log4c-1.0.12.ebuild41
1 files changed, 41 insertions, 0 deletions
diff --git a/dev-libs/log4c/log4c-1.0.12.ebuild b/dev-libs/log4c/log4c-1.0.12.ebuild
new file mode 100644
index 000000000000..28bb81ddad7f
--- /dev/null
+++ b/dev-libs/log4c/log4c-1.0.12.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/log4c/log4c-1.0.12.ebuild,v 1.1 2004/09/07 03:33:46 dragonheart Exp $
+
+inherit eutils
+
+DESCRIPTION="Log4c is a library of C for flexible logging to files, syslog and other destinations. It is modeled after the Log for Java library (http://jakarta.apache.org/log4j/), staying as close to their API as is reasonable."
+SRC_URI="mirror://sourceforge/log4c/${P}.tar.gz"
+HOMEPAGE="http://log4c.sourceforge.net/"
+
+SLOT="0"
+LICENSE="LGPL-2.1"
+KEYWORDS="~x86 ~sparc ~ppc"
+IUSE="doc"
+
+DEPEND="doc? ( >=app-doc/doxygen-1.2.15
+ virtual/tetex
+ virtual/ghostscript )
+ >=media-gfx/graphviz-1.7.15-r2"
+
+src_compile() {
+
+ #local myconf
+ #if has maketest ${FEATURES} || use maketest;
+ #then
+ # myconf="${myconf} --enable-test"
+ #fi
+
+ econf --enable-test `use_enable doc` || die
+ use doc && addwrite "${ROOT}/var/cache/fonts"
+ emake || die
+}
+
+src_test() {
+ einfo "Cannot get test working. patches welcome on bugs.gentoo.org"
+}
+
+src_install() {
+ emake DESTDIR=${D} install
+ prepalldocs.new || prepalldocs
+}