commit:     2bbac68be2b30668ac67ca6038a383b7b244df8f
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 22 08:01:18 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue Sep 22 08:01:18 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=2bbac68b

sci-mathematics/lattE-macchiato: Bump to EAPI=5

Package-Manager: portage-2.2.21
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 .../lattE-macchiato/lattE-macchiato-0.9.3.ebuild        | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/sci-mathematics/lattE-macchiato/lattE-macchiato-0.9.3.ebuild 
b/sci-mathematics/lattE-macchiato/lattE-macchiato-0.9.3.ebuild
index b2bc31d..36a2b1a 100644
--- a/sci-mathematics/lattE-macchiato/lattE-macchiato-0.9.3.ebuild
+++ b/sci-mathematics/lattE-macchiato/lattE-macchiato-0.9.3.ebuild
@@ -1,24 +1,23 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI="2"
+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
 
-HOMEPAGE="http://www.math.ucdavis.edu/~mkoeppe/latte/";
-
 SLOT="0"
 LICENSE="GPL-2"
 KEYWORDS="~x86 ~amd64"
 IUSE=""
 
 DEPEND="
-       dev-libs/gmp[cxx]
+       dev-libs/gmp:0=[cxx]
        >=dev-libs/ntl-5.4.2
        sci-mathematics/4ti2
        >=sci-libs/cdd+-077a
@@ -41,9 +40,9 @@ src_prepare() {
 src_install() {
        # install
        cd "${S}"/lidia-2.2.1-pre1+svn-1069+lattepatches-0.1/
-       emake DESTDIR="${D}" install || die "Install failed"
-       cd "${S}"/latte-1.2-mk-0.9.3/
-       emake DESTDIR="${D}" install || die "Install failed"
+       default
+       cd "${S}"/latte-1.2-mk-0.9.3/ || die
+       default
        # ... and get rid of minimize which is provided by 4ti2:
-       rm "${D}"/usr/bin/minimize || die "Removing minimize failed"
+       rm "${ED}"/usr/bin/minimize || die "Removing minimize failed"
 }

Reply via email to