diff options
Diffstat (limited to 'dev-libs/rasqal/rasqal-0.9.10.ebuild')
-rw-r--r-- | dev-libs/rasqal/rasqal-0.9.10.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-libs/rasqal/rasqal-0.9.10.ebuild b/dev-libs/rasqal/rasqal-0.9.10.ebuild new file mode 100644 index 000000000000..fccad1f65730 --- /dev/null +++ b/dev-libs/rasqal/rasqal-0.9.10.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/rasqal/rasqal-0.9.10.ebuild,v 1.1 2005/10/18 01:38:18 vapier Exp $ + +DESCRIPTION="library that handles Resource Description Framework (RDF)" +HOMEPAGE="http://librdf.org/rasqal/" +SRC_URI="http://download.librdf.org/source/${P}.tar.gz" + +LICENSE="LGPL-2 Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="pcre xml2" + +RDEPEND="sys-devel/flex + pcre? ( dev-libs/libpcre ) + xml2? ( dev-libs/libxml2 ) + media-libs/raptor" +DEPEND="${RDEPEND} + sys-devel/bison" + +src_compile() { + local regexlib + use pcre && regexlib="pcre" || regexlib="posix" + econf \ + $(use_with pcre pcre-config) \ + $(use_with xml2 xml2-config) \ + --with-regex-library=${regexlib} \ + --with-raptor=system \ + || die + emake || die +} + +src_install() { + make install DESTDIR="${D}" || die + dodoc AUTHORS NEWS README +} |