summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-05-12 08:47:31 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-05-12 08:47:31 +0000
commitf4b17c8fcd3471d9cae05c90c25474c0b3e1bd9b (patch)
treed83fbdef5cb9a6c8c25d5e1a5ab18006f27a5ae5
parentold (diff)
downloadgentoo-2-f4b17c8fcd3471d9cae05c90c25474c0b3e1bd9b.tar.gz
gentoo-2-f4b17c8fcd3471d9cae05c90c25474c0b3e1bd9b.tar.bz2
gentoo-2-f4b17c8fcd3471d9cae05c90c25474c0b3e1bd9b.zip
EAPI2fy
(Portage version: 2.1.6.13/cvs/Linux x86_64)
-rw-r--r--media-libs/raptor/raptor-1.4.18.ebuild18
1 files changed, 8 insertions, 10 deletions
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
}