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

Contents of /sci-mathematics/cado-nfs/cado-nfs-2.0_alpha2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Jan 14 03:19:37 2014 UTC (6 years, 1 month ago) by patrick
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Bump

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

1 # Copyright 1999-2013 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.0_alpha2.ebuild,v 1.1 2013/10/21 02:34:56 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/32988/${PN}-2.0alpha_55e97b6a.tar.gz -> ${P}.tar.gz"
9
10 inherit eutils cmake-utils
11
12 LICENSE="LGPL-2.1"
13 SLOT="0"
14 #KEYWORDS="~amd64 ~x86"
15 KEYWORDS=""
16 IUSE=""
17
18 RDEPEND="dev-libs/gmp
19 dev-lang/perl
20 !sci-mathematics/ggnfs
21 !sci-biology/shrimp
22 "
23 DEPEND="${RDEPEND}
24 "
25
26 # sigh :(
27 S="${WORKDIR}/cado-nfs-2.0alpha_55e97b6a"
28
29 src_prepare() {
30 # looks like packaging mistake
31 sed -i -e 's/add_executable (convert_rels convert_rels.c)//' misc/CMakeLists.txt || die
32 sed -i -e 's/target_link_libraries (convert_rels utils)//' misc/CMakeLists.txt || die
33 sed -i -e 's~install(TARGETS convert_rels RUNTIME DESTINATION bin/misc)~~' misc/CMakeLists.txt || die
34 }
35
36 src_configure() {
37 DESTINATION="/usr/libexec/cado-nfs" cmake-utils_src_configure
38 }
39 src_compile() {
40 # autodetection goes confused for gf2x
41 ABI=default cmake-utils_src_compile
42 }

  ViewVC Help
Powered by ViewVC 1.1.20