From 18ee48d77f89a44408ee88e9c4c4da737e6d5ebd Mon Sep 17 00:00:00 2001 From: Samuli Suominen Date: Tue, 29 Jun 2010 18:42:07 +0000 Subject: old, cleanup (Portage version: 2.2_rc67/cvs/Linux x86_64) --- dev-libs/log4cpp/log4cpp-1.0.ebuild | 32 ++++++++++++-------------------- 1 file changed, 12 insertions(+), 20 deletions(-) (limited to 'dev-libs/log4cpp/log4cpp-1.0.ebuild') diff --git a/dev-libs/log4cpp/log4cpp-1.0.ebuild b/dev-libs/log4cpp/log4cpp-1.0.ebuild index 15541ca2c36b..89f37205cc25 100644 --- a/dev-libs/log4cpp/log4cpp-1.0.ebuild +++ b/dev-libs/log4cpp/log4cpp-1.0.ebuild @@ -1,44 +1,36 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/log4cpp/log4cpp-1.0.ebuild,v 1.5 2008/12/07 12:08:21 vapier Exp $ - -NEED_AUTOCONF="latest" -NEED_AUTOMAKE="latest" +# $Header: /var/cvsroot/gentoo-x86/dev-libs/log4cpp/log4cpp-1.0.ebuild,v 1.6 2010/06/29 18:42:06 ssuominen Exp $ +EAPI=2 inherit autotools eutils -KEYWORDS="amd64 ppc s390 x86" - DESCRIPTION="Library of C++ classes for flexible logging to files, syslog and other destinations." HOMEPAGE="http://log4cpp.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + LICENSE="LGPL-2.1" SLOT="0" +KEYWORDS="amd64 ppc s390 x86" IUSE="doc" DEPEND="doc? ( app-doc/doxygen )" RDEPEND="" -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}/${PV}-doc_install_path.patch" \ - "${FILESDIR}/${PV}-gcc43.patch" +src_prepare() { + epatch "${FILESDIR}"/${PV}-doc_install_path.patch \ + "${FILESDIR}"/${PV}-gcc43.patch - AT_M4DIR=m4 - eautoreconf + AT_M4DIR="m4" eautoreconf } -src_compile() { +src_configure() { econf \ --without-idsa \ - $(use_enable doc doxygen) \ - || die "econf failed" - emake || die "emake failed" + $(use_enable doc doxygen) } src_install () { - emake DESTDIR="${D}" install || die "emake install failed" + emake DESTDIR="${D}" install || die dodoc AUTHORS ChangeLog NEWS README THANKS TODO } -- cgit v1.2.3-65-gdbad