diff options
Diffstat (limited to 'dev-libs/redland/redland-1.0.3.ebuild')
-rw-r--r-- | dev-libs/redland/redland-1.0.3.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/dev-libs/redland/redland-1.0.3.ebuild b/dev-libs/redland/redland-1.0.3.ebuild new file mode 100644 index 000000000000..20d516c05755 --- /dev/null +++ b/dev-libs/redland/redland-1.0.3.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/redland/redland-1.0.3.ebuild,v 1.1 2006/02/26 05:29:28 vapier Exp $ + +inherit eutils + +DESCRIPTION="High-level interface for the Resource Description Framework" +HOMEPAGE="http://librdf.org/" +SRC_URI="http://librdf.org/dist/source/${P}.tar.gz" + +LICENSE="LGPL-2 Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="berkdb mysql sqlite ssl threads" + +DEPEND="mysql? ( dev-db/mysql ) + sqlite? ( =dev-db/sqlite-3* ) + berkdb? ( sys-libs/db ) + dev-libs/libxml2 + ssl? ( dev-libs/openssl ) + >=media-libs/raptor-1.4.4 + >=dev-libs/rasqal-0.9.6" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-configure.patch + rm -r "${S}"/{raptor,rasqal} +} + +src_compile() { + econf \ + --with-raptor=system \ + --with-rasqal=system \ + $(use_with berkdb bdb) \ + $(use_with ssl openssl-digests) \ + $(use_with mysql) \ + $(use_with threads) \ + $(use_with sqlite) \ + || die + emake || die +} + +src_install() { + make install DESTDIR="${D}" || die + dodoc AUTHORS ChangeLog* INSTALL NEWS README TODO + dohtml *.html +} |