Magellan Linux

Annotation of /branches/R11-stable/core/mpfr/mpfr-3.1.2-r6.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 21960 - (hide annotations) (download)
Thu Aug 7 11:07:54 2014 UTC (9 years, 10 months ago) by niro
Original Path: trunk/core/mpfr/mpfr-3.1.2-r6.smage2
File size: 969 byte(s)
-toolchain rebuild, added patchlevel 10 patch
1 niro 21960 # $Id$
2    
3     PNAME="mpfr"
4     PVER="3.1.2"
5     PBUILD="r6"
6    
7     PATCHLEVEL="10"
8    
9     PCAT="dev-libs"
10    
11     DESCRIPTION="The MPFR library is a C library for multiple-precision floating-point computations with correct rounding."
12     HOMEPAGE="http://www.mpfr.org/"
13    
14     DEPEND=">= dev-libs/gmp-6.0"
15    
16     SRCFILE="${PNAME}-${PVER}.tar.xz"
17     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
18    
19     sminclude mbuild multilib
20    
21     SRC_URI=(
22     http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/distfiles/${SRCFILE}
23     #http://www.mpfr.org/${PNAME}-current/${SRCFILE}
24     #http://www.mpfr.org/${PNAME}-${PVER}/${SRCFILE}
25     mirror://${PNAME}/${SRCFILE}
26     )
27    
28     if [[ -n ${PATCHLEVEL} ]]
29     then
30     SRC_URI+=( mirror://${PNAME}/${PNAME}-${PVER}-p${PATCHLEVEL}.patch )
31     fi
32    
33     UP2DATE="updatecmd ${HOMEPAGE}/${PNAME}-current | lasttarball xz"
34    
35     src_prepare()
36     {
37     munpack ${SRCFILE} || die
38    
39     if [[ -n ${PATCHLEVEL} ]]
40     then
41     mpatch ${PNAME}-${PVER}-p${PATCHLEVEL}.patch || die
42     fi
43     }
44    
45     src_compile()
46     {
47     mconfigure --enable-thread-safe || die
48     mmake || die
49     }