summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-04-08 21:20:35 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-04-08 21:20:35 +0000
commitb35eccfbe4d8614bb99cc208559e00aad7f4e13d (patch)
tree37421888073bb79a4089f66fa5a2ba948a82d1be /sci-mathematics/coq
parentRespect CFLAGS and compiler on 64-bit systems. Apparently I'm the only person... (diff)
downloadgentoo-2-b35eccfbe4d8614bb99cc208559e00aad7f4e13d.tar.gz
gentoo-2-b35eccfbe4d8614bb99cc208559e00aad7f4e13d.tar.bz2
gentoo-2-b35eccfbe4d8614bb99cc208559e00aad7f4e13d.zip
remove old
(Portage version: 2.1.5_rc2)
Diffstat (limited to 'sci-mathematics/coq')
-rw-r--r--sci-mathematics/coq/ChangeLog5
-rw-r--r--sci-mathematics/coq/coq-8.0_p3.ebuild88
2 files changed, 4 insertions, 89 deletions
diff --git a/sci-mathematics/coq/ChangeLog b/sci-mathematics/coq/ChangeLog
index d9bc6ffd4bf1..36d1e879758d 100644
--- a/sci-mathematics/coq/ChangeLog
+++ b/sci-mathematics/coq/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-mathematics/coq
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/coq/ChangeLog,v 1.31 2008/04/08 15:06:35 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/coq/ChangeLog,v 1.32 2008/04/08 21:20:35 aballier Exp $
+
+ 08 Apr 2008; Alexis Ballier <aballier@gentoo.org> -coq-8.0_p3.ebuild:
+ remove old
08 Apr 2008; Raúl Porcel <armin76@gentoo.org> coq-8.1_p3.ebuild:
sparc stable wrt #215746
diff --git a/sci-mathematics/coq/coq-8.0_p3.ebuild b/sci-mathematics/coq/coq-8.0_p3.ebuild
deleted file mode 100644
index 3177d71cb4ea..000000000000
--- a/sci-mathematics/coq/coq-8.0_p3.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/coq/coq-8.0_p3.ebuild,v 1.8 2007/12/17 21:28:47 aballier Exp $
-
-inherit eutils
-
-IUSE="norealanalysis ide debug translator doc"
-
-RESTRICT="strip"
-
-MY_PV="${PV/_p/pl}"
-MY_P="${PN}-${MY_PV}"
-
-DESCRIPTION="Coq is a proof assistant written in O'Caml"
-HOMEPAGE="http://coq.inria.fr/"
-SRC_URI="ftp://ftp.inria.fr/INRIA/${PN}/V${MY_PV}/${MY_P}.tar.gz
-mirror://gentoo/${P}-ocaml-3.09.patch.gz
-translator? ( ftp://ftp.inria.fr/INRIA/coq/V${MY_PV}/${MY_P}-translator.tar.gz )"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="amd64 ppc sparc x86"
-
-DEPEND=">=dev-lang/ocaml-3.08
-ide? ( >=dev-ml/lablgtk-2.2.0 )"
-
-S="${WORKDIR}/${MY_P}"
-
-src_unpack()
-{
- unpack ${A}
- cd "${S}"
-
- if has_version ">=dev-lang/ocaml-3.09";
- then
- epatch "${WORKDIR}/${P}-ocaml-3.09.patch"
- fi
-}
-
-src_compile() {
- local myconf="--prefix /usr \
- --bindir /usr/bin \
- --libdir /usr/lib/coq \
- --mandir /usr/man \
- --emacslib /usr/share/emacs/site-lisp \
- --coqdocdir /usr/lib/coq/coqdoc"
-
- use debug && myconf="--debug $myconf"
- use norealanalysis && myconf="$myconf --reals"
- use norealanalysis || myconf="$myconf --reals all"
-
- if use ide; then
- myconf="$myconf --coqide opt"
- else
- myconf="$myconf --coqide no"
- fi
-
- ./configure $myconf || die
-
- if use ide; then
- labldir=/usr/lib/ocaml/lablgtk2
- sed -i -e "s|BYTEFLAGS=|BYTEFLAGS=-I ${labldir} |" Makefile
- sed -i -e "s|OPTFLAGS=|OPTFLAGS=-I ${labldir} |" Makefile
- sed -i -e "s|COQIDEFLAGS=.*|COQIDEFLAGS=-thread -I ${labldir}|" Makefile
- make world || die
- else
- make world
- fi
-}
-
-src_install() {
- make COQINSTALLPREFIX="${D}" install || die
- dodoc README CREDITS CHANGES
-
- if use translator; then
- cd "${WORKDIR}/${MY_P}-translator"
- mv translate-v8 coq-translate-v8
- dobin coq-translate-v8
- if use doc; then
- dodoc Translator.* syntax-v8.*
- fi
- fi
-
- if use ide; then
- insinto /usr/share/applnk/Edutainment/Mathematics
- doins "${FILESDIR}/coqide.desktop"
- fi
-}