summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/log4shib/log4shib-1.0.1.ebuild')
-rw-r--r--dev-libs/log4shib/log4shib-1.0.1.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-libs/log4shib/log4shib-1.0.1.ebuild b/dev-libs/log4shib/log4shib-1.0.1.ebuild
new file mode 100644
index 000000000000..d13f8ca366b4
--- /dev/null
+++ b/dev-libs/log4shib/log4shib-1.0.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/log4shib/log4shib-1.0.1.ebuild,v 1.1 2011/01/21 19:02:31 hwoarang Exp $
+
+inherit eutils autotools
+
+DESCRIPTION="Internet2 version for OpenSAML of log4cpp logging framework"
+HOMEPAGE="http://spaces.internet2.edu/display/OpenSAML/log4shib"
+SRC_URI="http://shibboleth.internet2.edu/downloads/${PN}/${PV}/${P}.tar.gz"
+
+KEYWORDS="~amd64 ~x86"
+LICENSE="LGPL-2.1"
+SLOT="0"
+IUSE="doc"
+
+DEPEND="doc? ( app-doc/doxygen )"
+RDEPEND=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ # fix sandbox violation by doc installation
+ epatch "${FILESDIR}/${PN}-doc.patch"
+ AT_M4DIR="m4" eautoreconf
+}
+
+src_compile() {
+ econf --without-idsa \
+ $(use_enable doc doxygen)
+ emake || die "emake failed"
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog NEWS README THANKS || die "dodoc failed"
+}