Magellan Linux

Contents of /trunk/core/cloog/cloog-0.18.0-r5.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 18305 - (show annotations) (download)
Sun Jul 7 13:26:47 2013 UTC (10 years, 10 months ago) by niro
File size: 995 byte(s)
-useing system isl, no need to move gdb scripts of isl anymore
1 # $Id$
2
3 PNAME="cloog"
4 PVER="0.18.0"
5 PBUILD="r5"
6
7 PCAT="dev-libs"
8
9 DESCRIPTION="CLooG-ISL is a library to generate code for scanning Z-polyhedra."
10 HOMEPAGE="http://cloog.org/"
11
12 # do not depend on glibc, as it depends ob libstdc++ and this wants mpc
13 # as SRCDEPEND -> this may generate loops
14 DEPEND=">= dev-libs/gmp-5.1
15 >= dev-libs/isl-0.12"
16
17 SRCFILE="${PNAME}-${PVER}.tar.gz"
18 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
19
20 sminclude mbuild multilib
21
22 SRC_URI=(
23 http://www.bastoul.net/cloog/pages/download/count.php3?url=./${SRCFILE}
24 ftp://gcc.gnu.org/pub/gcc/infrastructure/${SRCFILE}
25 mirror://${PNAME}/${SRCFILE}
26 mirror://${PNAME}/${PNAME}-${PVER}-isl-0.11.2.patch
27 )
28
29 UP2DATE="updatecmd ftp://gcc.gnu.org/pub/gcc/infrastructure/ | grep ${PNAME} | lasttarball gz"
30
31 src_prepare()
32 {
33 munpack ${SRCFILE} || die
34
35 # fix broken testsuite with isl >= 0.11.2
36 mpatch ${PNAME}-${PVER}-isl-0.11.2.patch || die
37 }
38
39 src_compile()
40 {
41 mconfigure --enable-shared --with-gmp --with-isl=system || die
42 mmake || die
43 }