diff options
author | Patrick Lauer <patrick@gentoo.org> | 2014-09-10 07:58:07 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2014-09-10 07:58:07 +0000 |
commit | c925c366a1ca603e2d493d226360773aecfac6a4 (patch) | |
tree | b0c7c9e960cfaac174946153778ee3c3d1aabf6c /sci-mathematics/cado-nfs | |
parent | Refactor header compile logic a bit to make it a bit more standalone. (diff) | |
download | gentoo-2-c925c366a1ca603e2d493d226360773aecfac6a4.tar.gz gentoo-2-c925c366a1ca603e2d493d226360773aecfac6a4.tar.bz2 gentoo-2-c925c366a1ca603e2d493d226360773aecfac6a4.zip |
Bump
(Portage version: 2.2.12/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'sci-mathematics/cado-nfs')
-rw-r--r-- | sci-mathematics/cado-nfs/ChangeLog | 7 | ||||
-rw-r--r-- | sci-mathematics/cado-nfs/cado-nfs-2.1.ebuild | 41 |
2 files changed, 47 insertions, 1 deletions
diff --git a/sci-mathematics/cado-nfs/ChangeLog b/sci-mathematics/cado-nfs/ChangeLog index 18d091271f0c..c06b434357ce 100644 --- a/sci-mathematics/cado-nfs/ChangeLog +++ b/sci-mathematics/cado-nfs/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-mathematics/cado-nfs # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/cado-nfs/ChangeLog,v 1.5 2014/01/23 02:45:28 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/cado-nfs/ChangeLog,v 1.6 2014/09/10 07:58:07 patrick Exp $ + +*cado-nfs-2.1 (10 Sep 2014) + + 10 Sep 2014; Patrick Lauer <patrick@gentoo.org> +cado-nfs-2.1.ebuild: + Bump 23 Jan 2014; Patrick Lauer <patrick@gentoo.org> cado-nfs-2.0.ebuild: Add keywords and fix setting S diff --git a/sci-mathematics/cado-nfs/cado-nfs-2.1.ebuild b/sci-mathematics/cado-nfs/cado-nfs-2.1.ebuild new file mode 100644 index 000000000000..0530a6a30eca --- /dev/null +++ b/sci-mathematics/cado-nfs/cado-nfs-2.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $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 $ + +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/file/33856/${P}.tar.gz" + +inherit eutils cmake-utils + +# Fails F9_{k,m}bucket_test F9_tracektest +RESTRICT="test" + +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_prepare() { + # looks like packaging mistake + sed -i -e 's/add_executable (convert_rels convert_rels.c)//' misc/CMakeLists.txt || die + sed -i -e 's/target_link_libraries (convert_rels utils)//' misc/CMakeLists.txt || die + sed -i -e 's~install(TARGETS convert_rels RUNTIME DESTINATION bin/misc)~~' misc/CMakeLists.txt || die +} + +src_configure() { + DESTINATION="/usr/libexec/cado-nfs" cmake-utils_src_configure +} +src_compile() { + # autodetection goes confused for gf2x + ABI=default cmake-utils_src_compile +} |