aballier    14/10/28 08:13:27

  Modified:             ChangeLog
  Added:                ocamlgraph-1.8.5.ebuild
  Log:
  version bump
  
  Signed-off-by: [email protected]
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
160F534A)

Revision  Changes    Path
1.14                 dev-ml/ocamlgraph/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-ml/ocamlgraph/ChangeLog,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- ChangeLog   19 Aug 2013 13:46:39 -0000      1.13
+++ ChangeLog   28 Oct 2014 08:13:27 -0000      1.14
@@ -1,6 +1,12 @@
 # ChangeLog for dev-ml/ocamlgraph
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlgraph/ChangeLog,v 1.13 
2013/08/19 13:46:39 aballier Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlgraph/ChangeLog,v 1.14 
2014/10/28 08:13:27 aballier Exp $
+
+*ocamlgraph-1.8.5 (28 Oct 2014)
+
+  28 Oct 2014; Alexis Ballier <[email protected]> +ocamlgraph-1.8.5.ebuild,
+  +files/ocamlgraph-1.8.5-installfindlib.patch:
+  version bump
 
   19 Aug 2013; Alexis Ballier <[email protected]> ocamlgraph-0.99b.ebuild:
   eapi5, define subslot and add := dep on ocaml



1.1                  dev-ml/ocamlgraph/ocamlgraph-1.8.5.ebuild

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

Index: ocamlgraph-1.8.5.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlgraph/ocamlgraph-1.8.5.ebuild,v 
1.1 2014/10/28 08:13:27 aballier Exp $

EAPI=5

inherit findlib eutils

DESCRIPTION="O'Caml Graph library"
HOMEPAGE="http://ocamlgraph.lri.fr/index.en.html";
SRC_URI="http://ocamlgraph.lri.fr/download/${P}.tar.gz";
LICENSE="LGPL-2.1"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~ppc ~x86"
RDEPEND=">=dev-lang/ocaml-3.10.2:=[ocamlopt?]
        gtk? ( dev-ml/lablgtk:=[gnomecanvas,ocamlopt?] )"
DEPEND="${RDEPEND}
        doc? ( dev-tex/hevea dev-ml/ocamlweb )"
IUSE="doc examples gtk +ocamlopt"

src_prepare() {
        epatch "${FILESDIR}/${P}-installfindlib.patch"
}

src_compile() {
        emake byte
        use ocamlopt && emake opt

        if use doc;     then
                emake doc
        fi

        if use gtk; then
                emake OCAMLBEST=$(usex ocamlopt opt byte) viewer dgraph editor
        fi
}

src_install() {
        findlib_src_preinst
        use ocamlopt || export WANT_OCAMLOPT=no
        use gtk && export WANT_GTK=yes
        emake install-findlib

        if use gtk ; then
                local ext=byte
                use ocamlopt && ext=opt
                newbin dgraph/dgraph.${ext} ${PN}-dgraph
                newbin editor/editor.${ext} ${PN}-editor
                newbin view_graph/viewgraph.${ext} ${PN}-viewgraph
        fi

        dodoc README CREDITS FAQ CHANGES
        if use doc; then
                dohtml doc/*
        fi

        if use examples; then
                insinto /usr/share/doc/${PF}
                doins -r examples
                docompress -x /usr/share/doc/${PF}/examples
        fi
}




Reply via email to