1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit eutils multilib-minimal
9 if [[ ${PV} == "9999" ]] ; then
10 EGIT_REPO_URI="git://repo.or.cz/cloog.git"
11 inherit autotools git-2
13 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
14 SRC_URI="http://www.bastoul.net/cloog/pages/download/${P}.tar.gz"
17 DESCRIPTION="A loop generator for scanning polyhedra"
18 HOMEPAGE="http://www.bastoul.net/cloog/"
24 RDEPEND=">=dev-libs/gmp-6.0.0[${MULTILIB_USEDEP}]
25 >=dev-libs/isl-0.15:0=[${MULTILIB_USEDEP}]
33 if [[ ${PV} == "9999" ]] ; then
37 # m4/ax_create_pkgconfig_info.m4 includes LDFLAGS
38 # sed to avoid eautoreconf
39 sed -i -e '/Libs:/s:@LDFLAGS@ ::' configure || die
42 # Make sure we always use the system isl.
46 multilib_src_configure() {
47 ECONF_SOURCE="${S}" econf \
51 $(use_enable static-libs static)
54 # The default src_test() fails, so we'll just run these directly
55 multilib_src_test () {
56 echo ">>> Test phase [check]: ${CATEGORY}/${PF}"
60 multilib_src_install_all() {