-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
DESCRIPTION="A C library implementing a suite of algorithms to factor large integers"
HOMEPAGE="https://sourceforge.net/projects/msieve/"
#SRC_URI="mirror://sourceforge/${PN}/${PN}/Msieve%20v${PV}/${PN}${PV/./}src.tar.gz"
-ESVN_REPO_URI="https://msieve.svn.sourceforge.net/svnroot/msieve"
+ESVN_REPO_URI="https://svn.code.sf.net/p/msieve/code/trunk"
LICENSE="public-domain"
SLOT="0"
RDEPEND="${DEPEND}"
src_prepare() {
- cd trunk
# TODO: Integrate ggnfs properly
sed -i -e 's/-march=k8//' Makefile || die
sed -i -e 's/CC =/#CC =/' Makefile || die
}
src_compile() {
- cd trunk
use ecm && export "ECM=1"
use mpi && export "MPI=1"
use zlib && export "ZLIB=1"
}
src_install() {
- cd trunk
mkdir -p "${D}/usr/include/msieve"
mkdir -p "${D}/usr/lib/"
mkdir -p "${D}/usr/share/doc/${P}/"