diff options
author | Patrick Lauer <patrick@gentoo.org> | 2012-11-19 07:14:59 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2012-11-19 07:14:59 +0000 |
commit | 1a676dc75ee91fc5ace70be3ae00e0760e61d6cf (patch) | |
tree | ec0b71cf02b1ad0328737dfce64c31e4d2fc5174 /sci-mathematics/gmp-ecm/gmp-ecm-6.4.3-r1.ebuild | |
parent | Version bump. (diff) | |
download | gentoo-2-1a676dc75ee91fc5ace70be3ae00e0760e61d6cf.tar.gz gentoo-2-1a676dc75ee91fc5ace70be3ae00e0760e61d6cf.tar.bz2 gentoo-2-1a676dc75ee91fc5ace70be3ae00e0760e61d6cf.zip |
Installing more headers
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'sci-mathematics/gmp-ecm/gmp-ecm-6.4.3-r1.ebuild')
-rw-r--r-- | sci-mathematics/gmp-ecm/gmp-ecm-6.4.3-r1.ebuild | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/sci-mathematics/gmp-ecm/gmp-ecm-6.4.3-r1.ebuild b/sci-mathematics/gmp-ecm/gmp-ecm-6.4.3-r1.ebuild new file mode 100644 index 000000000000..b725bea3508e --- /dev/null +++ b/sci-mathematics/gmp-ecm/gmp-ecm-6.4.3-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gmp-ecm/gmp-ecm-6.4.3-r1.ebuild,v 1.1 2012/11/19 07:14:59 patrick Exp $ + +EAPI=4 +DESCRIPTION="Elliptic Curve Method for Integer Factorization" +HOMEPAGE="http://ecm.gforge.inria.fr/" +SRC_URI="https://gforge.inria.fr/frs/download.php/30965/${P}.tar.gz" + +inherit eutils + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-libs/gmp" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/ecm-${PV} + +src_install() { + emake DESTDIR="${D}" install || die + mkdir -p "${D}/usr/include/${PN}/" + cp "${S}"/*.h "${D}/usr/include/${PN}" || die "Failed to copy headers" # needed by other apps like YAFU +} |