Annotation of /branches/magellan-next/extras/cln/cln-1.3.2-r1.smage2
Parent Directory | Revision Log
Revision 8545 -
(hide annotations)
(download)
Thu Jul 21 22:15:08 2011 UTC (12 years, 10 months ago) by niro
File size: 738 byte(s)
Thu Jul 21 22:15:08 2011 UTC (12 years, 10 months ago) by niro
File size: 738 byte(s)
auto added: ver bump to 1.3.2-r1
1 | niro | 8545 | # $Id$ |
2 | |||
3 | PNAME="cln" | ||
4 | PVER="1.3.2" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCATEGORIE="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 | } |