# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ #EAPI=0 inherit eutils DESCRIPTION="The Shibboleth's log4cpp forked version." HOMEPAGE="http://shibboleth.internet2.edu/" SRC_URI="http://shibboleth.internet2.edu/downloads/log4shib/1.0.4/log4shib-1.0.4.tar.gz" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="idsa debug doxygen" DEPEND="" RDEPEND="${DEPEND}" src_compile() { myconf="" if use idsa; then myconf="${myconf} --with-idsa" elif use debug; then myconf="${myconf} --enable-debug" elif use doxygen; then myconf="${myconf} --enable-doxygen" else myconf="--disable-doxygen" fi econf ${myconf} emake || die "emake failed" } src_install() { einstall || die "einstall failed" }