2012-07-01 14:04:07 +00:00
|
|
|
# Template file for 'cloog'
|
|
|
|
pkgname=cloog
|
2014-05-19 07:30:37 +00:00
|
|
|
version=0.18.1
|
2014-05-19 11:29:55 +00:00
|
|
|
revision=2
|
2014-05-19 08:17:35 +00:00
|
|
|
bootstrap=yes
|
2012-07-01 14:04:07 +00:00
|
|
|
build_style=gnu-configure
|
2014-05-19 07:30:37 +00:00
|
|
|
configure_args="--with-isl=system --with-gmp=system --with-gmp-exec-prefix=${XBPS_CROSS_BASE}"
|
|
|
|
makedepends="isl-devel"
|
2014-01-01 15:10:11 +00:00
|
|
|
replaces="cloog-ppl>=0"
|
2012-07-01 14:04:07 +00:00
|
|
|
short_desc="Library that generates loops for scanning polyhedra"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
homepage="http://www.bastoul.net/cloog/"
|
|
|
|
license="GPL-2"
|
|
|
|
distfiles="http://www.bastoul.net/cloog/pages/download/cloog-$version.tar.gz"
|
2014-05-19 07:30:37 +00:00
|
|
|
checksum=02500a4edd14875f94fe84cbeda4290425cb0c1c2474c6f75d75a303d64b4196
|
2013-04-11 07:52:59 +00:00
|
|
|
|
2014-05-19 08:23:31 +00:00
|
|
|
if [ -z "$CHROOT_READY" ]; then
|
|
|
|
CFLAGS="-I${XBPS_MASTERDIR}/usr/include"
|
|
|
|
LDFLAGS="-L${XBPS_MASTERDIR}/usr/lib"
|
|
|
|
fi
|
|
|
|
|
2013-04-11 07:52:59 +00:00
|
|
|
cloog-devel_package() {
|
2014-05-19 11:29:55 +00:00
|
|
|
depends="gmp-devel isl-devel cloog>=${version}_${revision}"
|
2013-04-11 07:52:59 +00:00
|
|
|
replaces="cloog-ppl-devel>=0"
|
2014-05-19 11:29:55 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-11 07:52:59 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-05-19 07:30:37 +00:00
|
|
|
vmove usr/lib/*.a
|
|
|
|
vmove usr/lib/*.so
|
|
|
|
vmove usr/lib/cloog-isl
|
|
|
|
vmove usr/lib/isl
|
2013-04-11 07:52:59 +00:00
|
|
|
}
|
|
|
|
}
|