diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-01-04 00:28:57 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-01-04 00:28:57 +0000 |
commit | cf08755b3dfb9e5f3efc0319e77249c087b03447 (patch) | |
tree | 456242537f6ae7c0234cdad8322ad61830d86e98 /media-libs/raptor/raptor-1.4.8.ebuild | |
parent | ia64 stable (diff) | |
download | historical-cf08755b3dfb9e5f3efc0319e77249c087b03447.tar.gz historical-cf08755b3dfb9e5f3efc0319e77249c087b03447.tar.bz2 historical-cf08755b3dfb9e5f3efc0319e77249c087b03447.zip |
Version bump.
Package-Manager: portage-2.1_pre3-r1
Diffstat (limited to 'media-libs/raptor/raptor-1.4.8.ebuild')
-rw-r--r-- | media-libs/raptor/raptor-1.4.8.ebuild | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/media-libs/raptor/raptor-1.4.8.ebuild b/media-libs/raptor/raptor-1.4.8.ebuild new file mode 100644 index 000000000000..b1369141a471 --- /dev/null +++ b/media-libs/raptor/raptor-1.4.8.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/raptor/raptor-1.4.8.ebuild,v 1.1 2006/01/04 00:28:57 vapier Exp $ + +inherit eutils + +DESCRIPTION="The RDF Parser Toolkit" +HOMEPAGE="http://librdf.org/raptor/" +SRC_URI="http://download.librdf.org/source/${P}.tar.gz" + +LICENSE="LGPL-2 Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~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 ) ) )" + +src_unpack() { + unpack ${A} + epunt_cxx +} + +src_compile() { + local myraptorconf="" + + use xml2 \ + && myraptorconf="${myraptorconf} --with-xml-parser=libxml" \ + || myraptorconf="${myraptorconf} --with-xml-parser=expat" + + if use curl ; then + myraptorconf="${myraptorconf} --with-www=curl" + elif use xml2 ; then + myraptorconf="${myraptorconf} --with-www=xml" +# elif use libwww ; +# myraptorconf="${myraptorconf} --with-www=libwww" + else + myraptorconf="${myraptorconf} --with-www=none" + fi + econf \ + $(use_enable gnome nfc-check) \ + ${myraptorconf} \ + || die "configure failed" + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die + dodoc AUTHORS ChangeLog NEWS README + dohtml NEWS.html README.html +} |