Magellan Linux

Annotation of /branches/R11-stable/core/cloog/cloog-0.18.0-r6.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 18404 - (hide annotations) (download)
Wed Jul 17 08:16:02 2013 UTC (10 years, 11 months ago) by niro
File size: 1043 byte(s)
-release branches/R11-stable
1 niro 18324 # $Id$
2    
3     PNAME="cloog"
4     PVER="0.18.0"
5     PBUILD="r6"
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     msetfeature "!check" # one check failes - fixme
22    
23     SRC_URI=(
24     http://www.bastoul.net/cloog/pages/download/count.php3?url=./${SRCFILE}
25     ftp://gcc.gnu.org/pub/gcc/infrastructure/${SRCFILE}
26     mirror://${PNAME}/${SRCFILE}
27     mirror://${PNAME}/${PNAME}-${PVER}-isl-0.11.2.patch
28     )
29    
30     UP2DATE="updatecmd ftp://gcc.gnu.org/pub/gcc/infrastructure/ | grep ${PNAME} | lasttarball gz"
31    
32     src_prepare()
33     {
34     munpack ${SRCFILE} || die
35    
36     # fix broken testsuite with isl >= 0.11.2
37     mpatch ${PNAME}-${PVER}-isl-0.11.2.patch || die
38     }
39    
40     src_compile()
41     {
42     mconfigure --enable-shared --with-gmp --with-isl=system || die
43     mmake || die
44     }