Magellan Linux

Annotation of /trunk/extras/cln/cln-1.3.4-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 27341 - (hide annotations) (download)
Tue Dec 15 15:17:31 2015 UTC (8 years, 6 months ago) by niro
File size: 760 byte(s)
-c++11 abi toolchain rebuild
1 niro 27341 # $Id$
2    
3     PNAME="cln"
4     PVER="1.3.4"
5     PBUILD="r2"
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-6
13     >= sys-libs/libstdc++-5.3"
14    
15     SRCFILE="${PNAME}-${PVER}.tar.bz2"
16     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17    
18     sminclude mbuild
19    
20     SRC_URI=(
21     http://www.ginac.de/CLN/${SRCFILE}
22     # ftp://ftpthep.physik.uni-mainz.de/pub/gnu/${SRCFILE}
23     mirror://${PNAME}/${SRCFILE}
24     mirror://${PNAME}/${PNAME}-1.3.1-gcc45.patch
25     )
26    
27     UP2DATE="updatecmd ${HOMEPAGE} | lasttarball"
28    
29     src_prepare()
30     {
31     munpack ${SRCFILE} || die
32     cd ${SRCDIR}
33    
34     # fix compilation against gcc-4.5
35     mpatch ${PNAME}-1.3.1-gcc45.patch || die
36    
37     # do not build any examples
38     sed -i '/^SUBDIRS.*=/s/examples doc benchmarks/doc/' Makefile.in || die
39     }