From f4b17c8fcd3471d9cae05c90c25474c0b3e1bd9b Mon Sep 17 00:00:00 2001 From: Samuli Suominen Date: Tue, 12 May 2009 08:47:31 +0000 Subject: EAPI2fy (Portage version: 2.1.6.13/cvs/Linux x86_64) --- media-libs/raptor/raptor-1.4.18.ebuild | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'media-libs/raptor') diff --git a/media-libs/raptor/raptor-1.4.18.ebuild b/media-libs/raptor/raptor-1.4.18.ebuild index 0e60629316ed..51b9cbb3b093 100644 --- a/media-libs/raptor/raptor-1.4.18.ebuild +++ b/media-libs/raptor/raptor-1.4.18.ebuild @@ -1,7 +1,8 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/raptor/raptor-1.4.18.ebuild,v 1.4 2009/02/14 20:48:57 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/raptor/raptor-1.4.18.ebuild,v 1.5 2009/05/12 08:47:31 ssuominen Exp $ +EAPI=2 inherit eutils DESCRIPTION="The RDF Parser Toolkit" @@ -22,14 +23,12 @@ DEPEND="${RDEPEND} sys-devel/flex dev-util/pkgconfig" -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { epunt_cxx } -src_compile() { - local myconf="" +src_configure() { + local myconf if use xml; then myconf="${myconf} --with-xml-parser=libxml" @@ -45,14 +44,13 @@ src_compile() { myconf="${myconf} --with-www=none" fi - econf $(use_enable unicode nfc-check) \ + econf \ + $(use_enable unicode nfc-check) \ ${myconf} - - emake || die "emake failed." } src_install() { - emake DESTDIR="${D}" install || die "emake install failed." + emake DESTDIR="${D}" install || die "emake install failed" dodoc AUTHORS ChangeLog NEWS NOTICE README dohtml NEWS.html README.html RELEASE.html } -- cgit v1.2.3-65-gdbad