summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/raptor/raptor-1.4.18.ebuild')
-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
}