blob: 6c32445dca7c4ec77b0ed75a65804fec5dd21508 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="3"
DESCRIPTION="A floating-point formalization for the Coq system"
HOMEPAGE="http://flocq.gforge.inria.fr/"
SRC_URI="https://gforge.inria.fr/frs/download.php/33502/${P}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="sci-mathematics/coq"
src_prepare() {
sed -i Remakefile.in \
-e "s:mkdir -p @libdir@:mkdir -p \$(DESTDIR)@libdir@:g" \
-e "s:cp \$f @libdir@:cp \$f \$(DESTDIR)@libdir@:g"
}
src_configure() {
econf --libdir="`coqc -where`/user-contrib/Flocq"
}
src_compile() {
./remake || die "emake failed"
}
src_install() {
DESTDIR="${D}" ./remake install || die "emake install failed"
dodoc NEWS README AUTHORS ChangeLog
}
|