Contents of /branches/R11-unstable/extras/cln/cln-1.3.4-r1.smage2
Parent Directory | Revision Log
Revision 25155 -
(show annotations)
(download)
Tue Nov 25 03:08:35 2014 UTC (9 years, 10 months ago) by niro
File size: 733 byte(s)
Tue Nov 25 03:08:35 2014 UTC (9 years, 10 months ago) by niro
File size: 733 byte(s)
-release branches/R11-unstable
1 | # $Id$ |
2 | |
3 | PNAME="cln" |
4 | PVER="1.3.4" |
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-6" |
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 | } |