/[gentoo-x86]/dev-libs/gmp/gmp-4.3.1.ebuild
Gentoo

Diff of /dev-libs/gmp/gmp-4.3.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2009 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/Attic/gmp-4.3.1.ebuild,v 1.1 2009/05/23 23:23:36 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/Attic/gmp-4.3.1.ebuild,v 1.2 2009/08/16 00:37:46 vapier Exp $
4 4
5inherit flag-o-matic eutils libtool 5inherit flag-o-matic eutils libtool flag-o-matic
6 6
7DESCRIPTION="Library for arithmetic on arbitrary precision integers, rational numbers, and floating-point numbers" 7DESCRIPTION="Library for arithmetic on arbitrary precision integers, rational numbers, and floating-point numbers"
8HOMEPAGE="http://gmplib.org/" 8HOMEPAGE="http://gmplib.org/"
9SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2" 9SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2"
10# doc? ( http://www.nada.kth.se/~tege/${PN}-man-${PV}.pdf )" 10# doc? ( http://www.nada.kth.se/~tege/${PN}-man-${PV}.pdf )"
12LICENSE="LGPL-3" 12LICENSE="LGPL-3"
13SLOT="0" 13SLOT="0"
14KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" 14KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
15IUSE="nocxx" #doc 15IUSE="nocxx" #doc
16 16
17RDEPEND=""
18DEPEND=""
19
20src_unpack () { 17src_unpack() {
21 unpack ${A} 18 unpack ${A}
22 cd "${S}" 19 cd "${S}"
23 [[ -d ${FILESDIR}/${PV} ]] && EPATCH_SUFFIX="diff" EPATCH_FORCE="yes" epatch "${FILESDIR}"/${PV} 20 [[ -d ${FILESDIR}/${PV} ]] && EPATCH_SUFFIX="diff" EPATCH_FORCE="yes" epatch "${FILESDIR}"/${PV}
24 epatch "${FILESDIR}"/${PN}-4.1.4-noexecstack.patch 21 epatch "${FILESDIR}"/${PN}-4.1.4-noexecstack.patch
25 epatch "${FILESDIR}"/${PN}-4.3.0-ABI-multilib.patch 22 epatch "${FILESDIR}"/${PN}-4.3.0-ABI-multilib.patch
45 32|x86) export GMPABI=32;; 42 32|x86) export GMPABI=32;;
46 64|amd64|n64) export GMPABI=64;; 43 64|amd64|n64) export GMPABI=64;;
47 o32|n32) export GMPABI=${ABI};; 44 o32|n32) export GMPABI=${ABI};;
48 esac 45 esac
49 46
47 tc-export CC
50 econf \ 48 econf \
51 --localstatedir=/var/state/gmp \ 49 --localstatedir=/var/state/gmp \
52 --disable-mpfr \ 50 --disable-mpfr \
53 --disable-mpbsd \ 51 --disable-mpbsd \
54 $(use_enable !nocxx cxx) \ 52 $(use_enable !nocxx cxx) \

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20