# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI="5" inherit multilib-minimal DESCRIPTION="A Specification and a Library for Data Exchange in Polyhedral Compilation Tools" HOMEPAGE="https://icps.u-strasbg.fr/~bastoul/development/openscop/" SRC_URI="https://github.com/periscop/openscop/releases/download/${PV}/${P}.tar.gz" LICENSE="BSD-3" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" IUSE="static-libs" SLOT="0/0" RDEPEND=">=dev-libs/gmp-5.1.3-r1[${MULTILIB_USEDEP}]" DEPEND="${RDEPEND} virtual/pkgconfig" DOCS=( AUTHORS COPYING ChangeLog NEWS README THANKS ) src_prepare() { sed -i -e '/Libs:/s:@LDFLAGS@ ::' configure || die } multilib_src_configure() { ECONF_SOURCE="${S}" econf $(use_enable static-libs static) } multilib_src_install_all() { einstalldocs prune_libtool_files }