Magellan Linux

Annotation of /trunk/core/cloog/cloog-0.18.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 20601 - (hide annotations) (download)
Wed Jan 29 14:13:21 2014 UTC (10 years, 4 months ago) by niro
File size: 1055 byte(s)
-fixed patch version
1 niro 20600 # $Id$
2    
3     PNAME="cloog"
4     PVER="0.18.1"
5     PBUILD="r1"
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 niro 20601 mirror://${PNAME}/${PNAME}-0.18.0-isl-0.11.2.patch
28 niro 20600 )
29    
30     UP2DATE="updatecmd 'http://www.bastoul.net/cloog/pages/download/?C=M;O=A' | grep ${PNAME}- | lasttarball gz"
31    
32     src_prepare()
33     {
34     munpack ${SRCFILE} || die
35    
36     # fix broken testsuite with isl >= 0.11.2
37 niro 20601 mpatch ${PNAME}-0.18.0-isl-0.11.2.patch || die
38 niro 20600 }
39    
40     src_compile()
41     {
42     mconfigure --enable-shared --with-gmp --with-isl=system || die
43     mmake || die
44     }