blob: c78164c26339c9c64f4ff4b2becc647fc48f578b (
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
37
38
39
40
41
42
43
44
45
46
47
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit autotools eutils flag-o-matic
DESCRIPTION="lattE-macchiato consists of tools for lattice point enumeration"
HOMEPAGE="http://www.math.ucdavis.edu/~mkoeppe/latte/"
SRC_URI="http://www.math.ucdavis.edu/~mkoeppe/latte/download/latte-for-tea-too-1.2-mk-0.9.3.tar.gz"
# mirror://gentoo/${P}-src.tar.bz2
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND="
dev-libs/gmp:0=[cxx]
>=dev-libs/ntl-5.4.2
sci-mathematics/4ti2
>=sci-libs/cdd+-077a
>=sci-mathematics/glpk-4.13
>=sci-libs/cddlib-094f"
RDEPEND="${DEPEND}"
S="${WORKDIR}/latte-for-tea-too-1.2-mk-0.9.3"
# For now LattE builds an internal version of Lidia.
# This will not be split off for now because it is heavily patched
# and based on a version that was not even released.
src_prepare() {
epatch "${FILESDIR}/buildpackages.patch"
eautoreconf
}
src_install() {
# install
cd "${S}"/lidia-2.2.1-pre1+svn-1069+lattepatches-0.1/
default
cd "${S}"/latte-1.2-mk-0.9.3/ || die
default
# ... and get rid of minimize which is provided by 4ti2:
rm "${ED}"/usr/bin/minimize || die "Removing minimize failed"
}
|