31 lines
800 B
Bash
31 lines
800 B
Bash
# Copyright 1999-2013 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/cado-nfs/cado-nfs-1.1.ebuild,v 1.2 2013/01/23 10:08:54 patrick Exp $
|
|
|
|
EAPI=4
|
|
DESCRIPTION="Number Field Sieve (NFS) implementation for factoring integers"
|
|
HOMEPAGE="http://cado-nfs.gforge.inria.fr/"
|
|
SRC_URI="https://gforge.inria.fr/frs/download.php/29330/${P}.tar.gz"
|
|
|
|
inherit eutils cmake-utils
|
|
|
|
LICENSE="LGPL-2.1"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE=""
|
|
|
|
RDEPEND="dev-libs/gmp
|
|
dev-lang/perl
|
|
!sci-mathematics/ggnfs
|
|
!sci-biology/shrimp
|
|
"
|
|
DEPEND="${RDEPEND}
|
|
"
|
|
|
|
src_configure() {
|
|
DESTINATION="/usr/libexec/cado-nfs" cmake-utils_src_configure
|
|
}
|
|
src_compile() {
|
|
# autodetection goes confused for gf2x
|
|
ABI=default cmake-utils_src_compile
|
|
}
|