gienah      14/11/03 01:27:10

  Modified:             ChangeLog
  Added:                coq-8.4_p5.ebuild
  Log:
  Bump coq to 8.4pl5
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
618E971F)

Revision  Changes    Path
1.83                 sci-mathematics/coq/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/coq/ChangeLog?rev=1.83&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/coq/ChangeLog?rev=1.83&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/coq/ChangeLog?r1=1.82&r2=1.83

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/coq/ChangeLog,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -r1.82 -r1.83
--- ChangeLog   23 Jan 2014 08:17:49 -0000      1.82
+++ ChangeLog   3 Nov 2014 01:27:10 -0000       1.83
@@ -1,6 +1,11 @@
 # ChangeLog for sci-mathematics/coq
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/coq/ChangeLog,v 1.82 
2014/01/23 08:17:49 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/coq/ChangeLog,v 1.83 
2014/11/03 01:27:10 gienah Exp $
+
+*coq-8.4_p5 (03 Nov 2014)
+
+  03 Nov 2014; Mark Wright <[email protected]> +coq-8.4_p5.ebuild:
+  Bump coq to 8.4pl5
 
 *coq-8.4_p3 (23 Jan 2014)
 



1.1                  sci-mathematics/coq/coq-8.4_p5.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/coq/coq-8.4_p5.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/coq/coq-8.4_p5.ebuild?rev=1.1&content-type=text/plain

Index: coq-8.4_p5.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/coq/coq-8.4_p5.ebuild,v 1.1 
2014/11/03 01:27:10 gienah Exp $

EAPI="5"

inherit eutils multilib

MY_PV=${PV/_p/pl}
MY_P=${PN}-${MY_PV}

DESCRIPTION="Proof assistant written in O'Caml"
HOMEPAGE="http://coq.inria.fr/";
SRC_URI="http://${PN}.inria.fr/distrib/V${MY_PV}/files/${MY_P}.tar.gz";

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="gtk debug +ocamlopt doc camlp5"

RDEPEND="
        >=dev-lang/ocaml-3.11.2:=[ocamlopt?]
        camlp5? ( >=dev-ml/camlp5-6.02.3:=[ocamlopt?] )
        gtk? ( >=dev-ml/lablgtk-2.10.1:=[ocamlopt?] )"
DEPEND="${RDEPEND}
        doc? (
                media-libs/netpbm[png,zlib]
                virtual/latex-base
                dev-tex/hevea
                dev-tex/xcolor
                dev-texlive/texlive-pictures
                dev-texlive/texlive-mathextra
                dev-texlive/texlive-latexextra
                )"

S=${WORKDIR}/${MY_P}

src_prepare() {
        sed -e 's@\($(INSTALLLIB)\) revision@\1@' \
                -i "${S}/Makefile.build" \
                || die "Could not edit Makefile.build to remove install 
revision"
}

src_configure() {
        ocaml_lib=$(ocamlc -where)
        local myconf=(
                --prefix /usr
                --bindir /usr/bin
                --libdir /usr/$(get_libdir)/coq
                --mandir /usr/share/man
                --emacslib /usr/share/emacs/site-lisp
                --coqdocdir /usr/$(get_libdir)/coq/coqdoc
                --docdir /usr/share/doc/${PF}
                --configdir /etc/xdg/${PN}
                --lablgtkdir ${ocaml_lib}/lablgtk2
                )

        use debug && myconf+=( --debug )
        use doc || myconf+=( --with-doc no )

        if use gtk; then
                if use ocamlopt; then
                        myconf+=( --coqide opt )
                else
                        myconf+=( --coqide byte )
                fi
        else
                myconf+=( --coqide no )
        fi

        if use ocamlopt; then
                myconf+=( --opt )
        else
                myconf+=( -byte-only )
        fi

        if use camlp5; then
                myconf+=( --camlp5dir ${ocaml_lib}/camlp5 )
        else
                myconf+=( --usecamlp4 )
        fi

        export CAML_LD_LIBRARY_PATH="${S}/kernel/byterun/"
        ./configure ${myconf[@]} || die "configure failed"
}

src_compile() {
        emake STRIP="true" -j1 world VERBOSE=1
}

src_install() {
        emake STRIP="true" COQINSTALLPREFIX="${D}" install
        dodoc README CREDITS CHANGES

        use gtk && make_desktop_entry "coqide" "Coq IDE" 
"${EPREFIX}/usr/share/coq/coq.png"
}




Reply via email to