bicatali 14/03/10 18:29:07 Modified: ChangeLog Added: ntl-6.0.0.ebuild Log: Version bump, mostly taken from sage-on-gentoo (Portage version: 2.2.8-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
Revision Changes Path 1.23 dev-libs/ntl/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/ntl/ChangeLog?rev=1.23&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/ntl/ChangeLog?rev=1.23&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/ntl/ChangeLog?r1=1.22&r2=1.23 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-libs/ntl/ChangeLog,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- ChangeLog 24 Feb 2011 04:56:07 -0000 1.22 +++ ChangeLog 10 Mar 2014 18:29:06 -0000 1.23 @@ -1,6 +1,13 @@ # ChangeLog for dev-libs/ntl -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/ntl/ChangeLog,v 1.22 2011/02/24 04:56:07 bicatali Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/ntl/ChangeLog,v 1.23 2014/03/10 18:29:06 bicatali Exp $ + +*ntl-6.0.0 (10 Mar 2014) + + 10 Mar 2014; Sébastien Fabbro <[email protected]> + +files/ntl-6.0.0-sage-tools.patch, +files/ntl-6.0.0-singular.patch, + +ntl-6.0.0.ebuild: + Version bump, mostly taken from sage-on-gentoo 24 Feb 2011; Sébastien Fabbro <[email protected]> -ntl-5.3.ebuild, -ntl-5.3.2.ebuild, -ntl-5.4-r1.ebuild, -files/ntl-5.4-endless_testrun.patch, 1.1 dev-libs/ntl/ntl-6.0.0.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/ntl/ntl-6.0.0.ebuild?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/ntl/ntl-6.0.0.ebuild?rev=1.1&content-type=text/plain Index: ntl-6.0.0.ebuild =================================================================== # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-libs/ntl/ntl-6.0.0.ebuild,v 1.1 2014/03/10 18:29:06 bicatali Exp $ EAPI=5 inherit toolchain-funcs eutils multilib flag-o-matic DESCRIPTION="High-performance and portable Number Theory C++ library" HOMEPAGE="http://shoup.net/ntl/" SRC_URI="http://www.shoup.net/ntl/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-macos" IUSE="doc static-libs test" RDEPEND=" dev-libs/gmp:0= dev-libs/gf2x:0=" DEPEND="${RDEPEND} dev-lang/perl" S="${WORKDIR}/${P}/src" src_prepare() { # fix parallel make sed -i -e "s/make/make ${MAKEOPTS}/g" WizardAux || die cd .. # enable compatibility with singular # implement a call back framework (submitted upstream) # sanitize the makefile and allow the building of shared library epatch \ "${FILESDIR}"/${PN}-6.0.0-singular.patch \ "${FILESDIR}"/${PN}-6.0.0-sage-tools.patch \ "${FILESDIR}"/${PN}-5.5.2-shared.patch replace-flags -O[3-9] -O2 } src_configure() { perl DoConfig \ PREFIX="${EPREFIX}"/usr \ CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" \ CC="$(tc-getCC)" CXX="$(tc-getCXX)" \ AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" \ NTL_STD_CXX=on NTL_GMP_LIP=on NTL_GF2X_LIB=on \ || die "DoConfig failed" } src_compile() { # split the targets to allow parallel make to run properly emake setup1 setup2 emake setup3 sh Wizard on || die "Tuning wizard failed" if use static-libs || use test; then emake ntl.a fi local trg=so [[ ${CHOST} == *-darwin* ]] && trg=dylib emake shared${trg} } src_install() { dolib.so lib*$(get_libname) use static-libs && newlib.a ntl.a libntl.a cd .. insinto /usr/include doins -r include/NTL dodoc README if use doc ; then dodoc doc/*.txt dohtml doc/* fi }
