Magellan Linux

Contents of /branches/R11-stable/extras/cln/cln-1.3.4-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 22860 - (show annotations) (download)
Tue Oct 28 09:04:13 2014 UTC (9 years, 6 months ago) by niro
File size: 733 byte(s)
-release branches/R11-stable
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 }