summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2013-04-01 18:07:31 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2013-04-01 18:07:31 +0000
commit5a2e3647d97439a4d1dae0382b612681b66fa3bd (patch)
treeda14711bd3621a0416c0a542c494a166200eac8a /dev-libs/rasqal
parentVersion bump to latest 2.0.9 wrt bug#460800. Needed in libo testing. (diff)
downloadgentoo-2-5a2e3647d97439a4d1dae0382b612681b66fa3bd.tar.gz
gentoo-2-5a2e3647d97439a4d1dae0382b612681b66fa3bd.tar.bz2
gentoo-2-5a2e3647d97439a4d1dae0382b612681b66fa3bd.zip
Version bump wrt bug#456406.
(Portage version: 2.2.0_alpha170/cvs/Linux x86_64, signed Manifest commit with key 8EEE3BE8)
Diffstat (limited to 'dev-libs/rasqal')
-rw-r--r--dev-libs/rasqal/ChangeLog7
-rw-r--r--dev-libs/rasqal/rasqal-0.9.30.ebuild73
2 files changed, 79 insertions, 1 deletions
diff --git a/dev-libs/rasqal/ChangeLog b/dev-libs/rasqal/ChangeLog
index 0f5d33f16a5d..2544b57b02b2 100644
--- a/dev-libs/rasqal/ChangeLog
+++ b/dev-libs/rasqal/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/rasqal
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/rasqal/ChangeLog,v 1.81 2013/01/06 09:25:54 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/rasqal/ChangeLog,v 1.82 2013/04/01 18:07:31 scarabeus Exp $
+
+*rasqal-0.9.30 (01 Apr 2013)
+
+ 01 Apr 2013; Tomáš Chvátal <scarabeus@gentoo.org> +rasqal-0.9.30.ebuild:
+ Version bump wrt bug#456406.
06 Jan 2013; Agostino Sarubbo <ago@gentoo.org> rasqal-0.9.29.ebuild:
Add ~sparc, wrt bug #449220
diff --git a/dev-libs/rasqal/rasqal-0.9.30.ebuild b/dev-libs/rasqal/rasqal-0.9.30.ebuild
new file mode 100644
index 000000000000..90a60b35a99e
--- /dev/null
+++ b/dev-libs/rasqal/rasqal-0.9.30.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/rasqal/rasqal-0.9.30.ebuild,v 1.1 2013/04/01 18:07:31 scarabeus Exp $
+
+EAPI=4
+inherit libtool
+
+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="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos"
+IUSE="+crypt doc gmp kernel_linux +mhash pcre static-libs test xml"
+
+RDEPEND=">=media-libs/raptor-2.0.7:2
+ kernel_linux? ( >=sys-apps/util-linux-2.19 )
+ 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}
+ virtual/pkgconfig
+ sys-devel/flex
+ test? ( dev-perl/XML-DOM )"
+
+DOCS=( AUTHORS ChangeLog NEWS README )
+
+src_prepare() {
+ sed -i -e '/random_approach/s:==:=:' configure || die #416659
+ elibtoolize # g/fbsd .so versioning
+}
+
+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
+ local uuid=internal
+
+ use pcre && regex=pcre
+ use gmp && decimal=gmp
+ use kernel_linux && uuid=libuuid
+
+ 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-uuid-library=${uuid} \
+ --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 '{}' +
+}