/[gentoo-x86]/sci-mathematics/cado-nfs/cado-nfs-2.1.1.ebuild
Gentoo

Contents of /sci-mathematics/cado-nfs/cado-nfs-2.1.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Apr 29 08:24:54 2015 UTC (4 years, 9 months ago) by patrick
Branch: MAIN
CVS Tags: HEAD
Bump

(Portage version: 2.2.18/cvs/Linux x86_64, unsigned Manifest commit)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/cado-nfs/cado-nfs-2.1.ebuild,v 1.1 2014/09/10 07:58:07 patrick Exp $
4
5 EAPI=4
6 DESCRIPTION="Number Field Sieve (NFS) implementation for factoring integers"
7 HOMEPAGE="http://cado-nfs.gforge.inria.fr/"
8 SRC_URI="https://gforge.inria.fr/frs/download.php/file/34110/${P}.tar.gz"
9
10 inherit eutils cmake-utils
11
12 # Fails F9_{k,m}bucket_test F9_tracektest
13 RESTRICT="test"
14
15 LICENSE="LGPL-2.1"
16 SLOT="0"
17 KEYWORDS="~amd64 ~x86"
18 IUSE=""
19
20 RDEPEND="dev-libs/gmp
21 dev-lang/perl
22 !sci-mathematics/ggnfs
23 !sci-biology/shrimp
24 "
25 DEPEND="${RDEPEND}
26 "
27
28 src_prepare() {
29 # looks like packaging mistake
30 sed -i -e 's/add_executable (convert_rels convert_rels.c)//' misc/CMakeLists.txt || die
31 sed -i -e 's/target_link_libraries (convert_rels utils)//' misc/CMakeLists.txt || die
32 sed -i -e 's~install(TARGETS convert_rels RUNTIME DESTINATION bin/misc)~~' misc/CMakeLists.txt || die
33 }
34
35 src_configure() {
36 DESTINATION="/usr/libexec/cado-nfs" cmake-utils_src_configure
37 }
38 src_compile() {
39 # autodetection goes confused for gf2x
40 ABI=default cmake-utils_src_compile
41 }

  ViewVC Help
Powered by ViewVC 1.1.20