Contents of /branches/magellan-next/extras/cln/cln-1.3.1-r1.smage2
Parent Directory | Revision Log
Revision 7021 -
(show annotations)
(download)
Mon Sep 27 22:53:36 2010 UTC (14 years ago) by niro
File size: 751 byte(s)
Mon Sep 27 22:53:36 2010 UTC (14 years ago) by niro
File size: 751 byte(s)
auto added: ver bump to 1.3.1-r1
1 | # $Id$ |
2 | |
3 | PNAME="cln" |
4 | PVER="1.3.1" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="sci-libs" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="CLN - Class Library 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 docs |
38 | sed -i '/^SUBDIRS.*=/s/examples doc benchmarks/doc/' Makefile.in || die |
39 | } |