Magellan Linux

Contents of /trunk/deprecated/cloog/cloog-0.18.3-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 25995 - (show annotations) (download)
Thu Jun 11 14:46:57 2015 UTC (8 years, 11 months ago) by niro
File size: 1013 byte(s)
-moved to 'deprecated'
1 # $Id$
2
3 PNAME="cloog"
4 PVER="0.18.3"
5 PBUILD="r2"
6
7 STATE="disabled"
8
9 PCAT="dev-libs"
10
11 DESCRIPTION="CLooG-ISL is a library to generate code for scanning Z-polyhedra."
12 HOMEPAGE="http://cloog.org/"
13
14 # do not depend on glibc, as it depends ob libstdc++ and this wants mpc
15 # as SRCDEPEND -> this may generate loops
16 DEPEND=">= dev-libs/gmp-6.0
17 >= dev-libs/isl-0.12"
18
19 SRCFILE="${PNAME}-${PVER}.tar.gz"
20 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
21
22 sminclude multilib
23 msetfeature "!check" # one check failes - fixme
24
25 SRC_URI=(
26 http://www.bastoul.net/cloog/pages/download/count.php3?url=./${SRCFILE}
27 ftp://gcc.gnu.org/pub/gcc/infrastructure/${SRCFILE}
28 mirror://${PNAME}/${SRCFILE}
29 )
30
31 UP2DATE="updatecmd 'http://www.bastoul.net/cloog/pages/download/?C=M;O=A' | grep ${PNAME}- | lasttarball gz"
32
33 src_prepare()
34 {
35 munpack ${SRCFILE} || die
36
37 # remove invalid files from Makefile
38 all-abis sed -i '/cmake/d' Makefile.{in,am} || die
39 }
40
41 src_compile()
42 {
43 mconfigure --enable-shared --with-gmp --with-isl=system || die
44 mmake || die
45 }