Magellan Linux

Annotation of /trunk/core/gmp/gmp-4.2.4-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 37 - (hide annotations) (download)
Sat Oct 11 00:39:45 2008 UTC (15 years, 7 months ago) by niro
File size: 1172 byte(s)
auto added: ver bump to 0.4.10-r1
1 niro 31 # $Header: /magellan-cvs/smage/gmp/gmp-4.2.2-r1.smage2,v 1.1 2008/03/15 21:59:38 niro Exp $
2    
3     PNAME="gmp"
4     PVER="4.2.4"
5     PBUILD="r1"
6    
7     PCATEGORIE="dev-libs"
8     STATE="unstable"
9    
10     DESCRIPTION="GMP is a free library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating point numbers."
11     HOMEPAGE="http://www.swox.com/gmp/"
12    
13 niro 34 DEPEND=">= virtual/glibc"
14 niro 31
15     SRCFILE="${PNAME}-${PVER}.tar.bz2"
16     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17    
18 niro 37 # not mutilib.sminc compat, don't use it!
19     sminclude mbuild
20 niro 31
21     SRC_URI=(
22     gnu://${PNAME}/${SRCFILE}
23     mirror://${PNAME}/${SRCFILE}
24     )
25 niro 37
26     src_compile()
27     {
28     install -d ${SRCDIR}/build
29     cd ${SRCDIR}/build
30     mconfigure || die
31     mmake || die
32    
33     # build 32bit libraries for multilib systems
34     if [[ ${ARCH} = x86_64 ]]
35     then
36     install -d ${SRCDIR}/build-m32
37     cd ${SRCDIR}/build-m32
38     ABI=32 mconfigure || die
39     mmake || die
40     fi
41     }
42    
43     src_install()
44     {
45     cd ${SRCDIR}/build
46     make DESTDIR=${BINDIR} install || die
47    
48     # build 32bit libraries for multilib systems
49     if [[ ${ARCH} = x86_64 ]]
50     then
51     cd ${SRCDIR}/build-m32
52     make DESTDIR=${BINDIR} install || die
53     fi
54    
55     cd ${SRCDIR}
56     minstalldocs AUTHORS COPYING* ChangeLog NEWS README || die
57     }

Properties

Name Value
svn:keywords Id