Magellan Linux

Annotation of /branches/R11-stable/extras/cln/cln-1.3.3-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 18782 - (hide annotations) (download)
Wed Aug 14 12:42:43 2013 UTC (10 years, 10 months ago) by niro
File size: 732 byte(s)
-release branches/R11-stable
1 niro 18524 # $Id$
2    
3     PNAME="cln"
4     PVER="1.3.3"
5     PBUILD="r1"
6    
7     PCAT="sci-libs"
8    
9     DESCRIPTION="Class library (C++) for numbers"
10     HOMEPAGE="http://www.ginac.de/CLN/"
11    
12     DEPEND=">= dev-libs/gmp-5"
13    
14     SRCFILE="${PNAME}-${PVER}.tar.bz2"
15     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
16    
17     sminclude mbuild
18    
19     SRC_URI=(
20     http://www.ginac.de/CLN/${SRCFILE}
21     ftp://ftpthep.physik.uni-mainz.de/pub/gnu/${SRCFILE}
22     mirror://${PNAME}/${SRCFILE}
23     mirror://${PNAME}/${PNAME}-1.3.1-gcc45.patch
24     )
25    
26     UP2DATE="updatecmd ${HOMEPAGE} | lasttarball"
27    
28     src_prepare()
29     {
30     munpack ${SRCFILE} || die
31     cd ${SRCDIR}
32    
33     # fix compilation against gcc-4.5
34     mpatch ${PNAME}-1.3.1-gcc45.patch || die
35    
36     # do not build any examples
37     sed -i '/^SUBDIRS.*=/s/examples doc benchmarks/doc/' Makefile.in || die
38     }