# ChangeLog for media-libs/raptor
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/raptor/ChangeLog,v 1.18 2004/10/01 20:36:57 kito Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/raptor/ChangeLog,v 1.19 2004/11/11 02:18:04 vapier Exp $
+
+*raptor-1.4.2 (10 Nov 2004)
+
+ 10 Nov 2004; Mike Frysinger <vapier@gentoo.org> +raptor-1.4.2.ebuild:
+ Version bump.
01 Oct 2004; kito@gentoo.org raptor-1.2.0.ebuild:
added ~ppc-macos
--- /dev/null
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/raptor/raptor-1.4.2.ebuild,v 1.1 2004/11/11 02:18:04 vapier Exp $
+
+DESCRIPTION="The RDF Parser Toolkit"
+HOMEPAGE="http://www.redland.opensource.ac.uk/raptor/"
+SRC_URI="http://www.redland.opensource.ac.uk/dist/source/${P}.tar.gz"
+
+LICENSE="LGPL-2 MPL-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc-macos ~sparc ~x86"
+IUSE="curl xml2 gnome ssl"
+
+DEPEND="virtual/libc
+ gnome? ( >=dev-libs/glib-2.2.1 dev-util/pkgconfig )
+ xml2? ( >=dev-libs/libxml2-2.4.0 )
+ !xml2? ( dev-libs/expat )
+ ssl? ( dev-libs/openssl )
+ curl? ( net-misc/curl )"
+RDEPEND="virtual/libc
+ gnome? ( >=dev-libs/glib-2.2.1 )
+ xml2? ( >=dev-libs/libxml2-2.4.0 )
+ !xml2? ( dev-libs/expat )
+ ssl? ( dev-libs/openssl )
+ curl? ( net-misc/curl )"
+
+# compilation with libwww currently breaks and for using libfetch I didn't find the right USE flag
+#IUSE="curl xml2 libwww gnome"
+#DEPEND="virtual/libc
+# gnome? ( >=dev-libs/glib-2.2.1 dev-util/pkgconfig )
+# xml2? ( >=dev-libs/libxml2-2.4.0 ) : ( dev-libs/expat )
+# ssl? ( dev-libs/openssl )
+# curl? ( net-misc/curl ) : ( !xml2? ( libwww? ( net-libs/libwww ) ) )
+# "
+#RDEPEND="virtual/libc
+# gnome? ( >=dev-libs/glib-2.2.1 )
+# xml2? ( >=dev-libs/libxml2-2.4.0 ) : ( dev-libs/expat )
+# ssl? ( dev-libs/openssl )
+# curl? ( net-misc/curl ) : ( !xml2? ( libwww? ( net-libs/libwww ) ) )"
+
+DOC="AUTHORS ChangeLog INSTALL NEWS README"
+HTML="INSTALL.html NEWS.html README.html"
+
+src_compile() {
+ myraptorconf=""
+
+ use xml2 \
+ && myraptorconf="${myraptorconf} --with-xml-parser=libxml" \
+ || myraptorconf="${myraptorconf} --with-xml-parser=expat"
+
+ use curl && myraptorconf="${myraptorconf} --with-www=curl" \
+ || use xml2 && myraptorconf="${myraptorconf} --with-www=xml" \
+ || myraptorconf="${myraptorconf} --with-www=none"
+# || use libwww && myraptorconf="${myraptorconf} --with-www=libwww" \
+ econf \
+ `use_enable gnome nfc-check` \
+ ${myraptorconf} \
+ || die "configure failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+
+ dodoc ${DOC}
+ dohtml ${HTML}
+}