aballier    15/07/01 09:40:37

  Modified:             ChangeLog
  Added:                cudf-0.8.ebuild
  Log:
  version bump
  
  Signed-off-by: Alexis Ballier <[email protected]>
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
160F534A)

Revision  Changes    Path
1.5                  dev-ml/cudf/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/cudf/ChangeLog?rev=1.5&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/cudf/ChangeLog?rev=1.5&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/cudf/ChangeLog?r1=1.4&r2=1.5

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-ml/cudf/ChangeLog,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ChangeLog   28 Nov 2014 17:47:30 -0000      1.4
+++ ChangeLog   1 Jul 2015 09:40:37 -0000       1.5
@@ -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 <[email protected]> +cudf-0.8.ebuild:
+  version bump
 
   28 Nov 2014; Alexis Ballier <[email protected]> cudf-0.7.ebuild:
   update deps for ocaml 4.02



1.1                  dev-ml/cudf/cudf-0.8.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/cudf/cudf-0.8.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/cudf/cudf-0.8.ebuild?rev=1.1&content-type=text/plain

Index: cudf-0.8.ebuild
===================================================================
# 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
}




Reply via email to