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