blob: 218e7729cbcc8b792384422bcc7e956cbce590ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/mpc/mpc-0.6.ebuild,v 1.4 2009/08/18 10:28:03 aballier Exp $
EAPI=0
inherit eutils
DESCRIPTION="A library for multiprecision complex arithmetic with exact rounding."
HOMEPAGE="http://mpc.multiprecision.org/"
SRC_URI="http://www.multiprecision.org/mpc/download/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~ppc ~x86-fbsd"
IUSE=""
DEPEND=">=dev-libs/gmp-4.1.3
>=dev-libs/mpfr-2.3.1"
RDEPEND="${DEPEND}"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-fortify.patch
}
src_install() {
emake DESTDIR="${D}" install || die
dodoc "${S}"/{ChangeLog,NEWS,README,TODO}
}
|