summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2015-07-01 09:40:37 +0000
committerAlexis Ballier <aballier@gentoo.org>2015-07-01 09:40:37 +0000
commite1b1d2b1f577fb1c429f64f179bc41ff497761a6 (patch)
tree87df732ab0fdc27b1f57a4f11b6d557188eb5adf /dev-ml/cudf
parentStable for amd64. Fix bug 551988. (diff)
downloadgentoo-2-e1b1d2b1f577fb1c429f64f179bc41ff497761a6.tar.gz
gentoo-2-e1b1d2b1f577fb1c429f64f179bc41ff497761a6.tar.bz2
gentoo-2-e1b1d2b1f577fb1c429f64f179bc41ff497761a6.zip
version bump
Signed-off-by: Alexis Ballier <aballier@gentoo.org> (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
Diffstat (limited to 'dev-ml/cudf')
-rw-r--r--dev-ml/cudf/ChangeLog9
-rw-r--r--dev-ml/cudf/cudf-0.8.ebuild65
2 files changed, 72 insertions, 2 deletions
diff --git a/dev-ml/cudf/ChangeLog b/dev-ml/cudf/ChangeLog
index 79fd3ffabeeb..1d655d0058f8 100644
--- a/dev-ml/cudf/ChangeLog
+++ b/dev-ml/cudf/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ml/cudf
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/cudf/ChangeLog,v 1.4 2014/11/28 17:47:30 aballier Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/cudf/ChangeLog,v 1.5 2015/07/01 09:40:37 aballier Exp $
+
+*cudf-0.8 (01 Jul 2015)
+
+ 01 Jul 2015; Alexis Ballier <aballier@gentoo.org> +cudf-0.8.ebuild:
+ version bump
28 Nov 2014; Alexis Ballier <aballier@gentoo.org> cudf-0.7.ebuild:
update deps for ocaml 4.02
diff --git a/dev-ml/cudf/cudf-0.8.ebuild b/dev-ml/cudf/cudf-0.8.ebuild
new file mode 100644
index 000000000000..06bfd6214cf7
--- /dev/null
+++ b/dev-ml/cudf/cudf-0.8.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/cudf/cudf-0.8.ebuild,v 1.1 2015/07/01 09:40:37 aballier Exp $
+
+EAPI=5
+
+inherit multilib toolchain-funcs
+
+DESCRIPTION="Library to parse, pretty print, and evaluate CUDF documents"
+HOMEPAGE="http://www.mancoosi.org/cudf/"
+SRC_URI="https://gforge.inria.fr/frs/download.php/file/34659/${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="+ocamlopt test"
+
+RDEPEND="
+ >=dev-lang/ocaml-3.12:=[ocamlopt?]
+ dev-ml/extlib:=
+ dev-libs/glib:2
+ || ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 )
+"
+DEPEND="${RDEPEND}
+ test? ( dev-ml/ounit )
+ dev-ml/findlib
+ dev-lang/perl
+"
+
+src_prepare() {
+ sed -i \
+ -e 's|make|$(MAKE)|g' \
+ Makefile || die
+ sed -i \
+ -e 's|-lncurses|$(shell ${PKG_CONFIG} --libs ncurses glib-2.0)|g' \
+ c-lib/Makefile || die
+ sed -i \
+ -e 's|-lcurses|$(shell ${PKG_CONFIG} --libs ncurses glib-2.0)|g' \
+ c-lib/Makefile.variants || die
+
+ tc-export CC PKG_CONFIG
+
+ sed -i \
+ -e "s|-lncurses|$( $(tc-getPKG_CONFIG) --libs ncurses)|g" \
+ c-lib/cudf.pc.in || die
+}
+
+src_compile() {
+ emake -j1 all
+ emake c-lib
+ if use ocamlopt ; then
+ emake -j1 opt
+ emake c-lib-opt
+ fi
+}
+
+src_test() {
+ emake test
+ emake c-lib-test
+}
+
+src_install() {
+ emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install
+ dodoc BUGS ChangeLog README TODO
+}