summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-11-18 11:41:40 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-11-18 11:41:40 +0000
commitb824e1436d5ea410750f939614fcfc6254353222 (patch)
treee1ce7f7067fb5181f34d25e0020187371a3cdb2b /dev-libs/rasqal
parentTrim away cosmetics (diff)
downloadgentoo-2-b824e1436d5ea410750f939614fcfc6254353222.tar.gz
gentoo-2-b824e1436d5ea410750f939614fcfc6254353222.tar.bz2
gentoo-2-b824e1436d5ea410750f939614fcfc6254353222.zip
Version bump.
(Portage version: 2.2.0_alpha73/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/rasqal')
-rw-r--r--dev-libs/rasqal/ChangeLog7
-rw-r--r--dev-libs/rasqal/rasqal-0.9.28.ebuild63
2 files changed, 69 insertions, 1 deletions
diff --git a/dev-libs/rasqal/ChangeLog b/dev-libs/rasqal/ChangeLog
index c36010c587e5..c169ddd749a5 100644
--- a/dev-libs/rasqal/ChangeLog
+++ b/dev-libs/rasqal/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/rasqal
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/rasqal/ChangeLog,v 1.67 2011/10/18 16:54:33 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/rasqal/ChangeLog,v 1.68 2011/11/18 11:41:40 ssuominen Exp $
+
+*rasqal-0.9.28 (18 Nov 2011)
+
+ 18 Nov 2011; Samuli Suominen <ssuominen@gentoo.org> +rasqal-0.9.28.ebuild:
+ Version bump.
18 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> -rasqal-0.9.17.ebuild,
-rasqal-0.9.19.ebuild, -rasqal-0.9.26.ebuild:
diff --git a/dev-libs/rasqal/rasqal-0.9.28.ebuild b/dev-libs/rasqal/rasqal-0.9.28.ebuild
new file mode 100644
index 000000000000..0bc64f60dc7a
--- /dev/null
+++ b/dev-libs/rasqal/rasqal-0.9.28.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/rasqal/rasqal-0.9.28.ebuild,v 1.1 2011/11/18 11:41:40 ssuominen Exp $
+
+EAPI=4
+
+DESCRIPTION="library that handles Resource Description Framework (RDF)"
+HOMEPAGE="http://librdf.org/rasqal/"
+SRC_URI="http://download.librdf.org/source/${P}.tar.gz"
+
+LICENSE="Apache-2.0 GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos"
+IUSE="+crypt doc gmp +mhash pcre static-libs test xml"
+
+RDEPEND="media-libs/raptor:2
+ pcre? ( dev-libs/libpcre )
+ xml? ( dev-libs/libxml2 )
+ !gmp? ( dev-libs/mpfr )
+ gmp? ( dev-libs/gmp )
+ crypt? (
+ !mhash? ( dev-libs/libgcrypt )
+ mhash? ( app-crypt/mhash )
+ )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ sys-devel/flex
+ test? ( dev-perl/XML-DOM )"
+
+DOCS=( AUTHORS ChangeLog NEWS README )
+
+src_configure() {
+ # FIXME: From 0.9.27 to .28 --with-random-approach= was introduced, do we
+ # need a logic for it? Perhaps for dev-libs/gmp?
+
+ local regex=posix
+ local decimal=mpfr
+ local digest=internal
+
+ use pcre && regex=pcre
+ use gmp && decimal=gmp
+
+ if use crypt; then
+ digest=gcrypt
+ use mhash && digest=mhash
+ fi
+
+ econf \
+ $(use_enable pcre) \
+ $(use_enable static-libs static) \
+ $(use_enable xml xml2) \
+ --with-regex-library=${regex} \
+ --with-digest-library=${digest} \
+ --with-decimal=${decimal} \
+ --with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html
+}
+
+src_install() {
+ default
+ dohtml {NEWS,README,RELEASE}.html
+ use doc || rm -rf "${ED}"/usr/share/doc/${PF}/html/rasqal
+ find "${ED}" -name '*.la' -exec rm -f '{}' +
+}