Magellan Linux

Contents of /branches/magellan-next/extras/cln/cln-1.3.1-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7052 - (show annotations) (download)
Tue Sep 28 12:58:52 2010 UTC (13 years, 7 months ago) by niro
File size: 812 byte(s)
auto added: ver bump to 1.3.1-r2
1 # $Id: cln-1.3.1-r1.smage2 4928 2010-02-16 20:47:45Z niro $
2
3 PNAME="cln"
4 PVER="1.3.1"
5 PBUILD="r2"
6
7 PCATEGORIE="sci-libs"
8 STATE="unstable"
9
10 DESCRIPTION="Class library (C++) for numbers"
11 HOMEPAGE="http://www.ginac.de/CLN/"
12
13 DEPEND=">= dev-libs/gmp-5"
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}-${PVER}-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}-${PVER}-gcc45.patch || die
36
37 # do not build any examples
38 sed -i '/^SUBDIRS.*=/s/examples doc benchmarks/doc/' Makefile.in || die
39 }