summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2009-11-12 18:36:12 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2009-11-12 18:36:12 +0000
commitb1f3d7b0985df40a9f01fd434d41ce8faec65d57 (patch)
treeb7a289044b0a1adddf6e6f81073a603d094e0c0b /dev-libs/ntl
parentRemove media-sound/amarok:3.5 support. (diff)
downloadgentoo-2-b1f3d7b0985df40a9f01fd434d41ce8faec65d57.tar.gz
gentoo-2-b1f3d7b0985df40a9f01fd434d41ce8faec65d57.tar.bz2
gentoo-2-b1f3d7b0985df40a9f01fd434d41ce8faec65d57.zip
Removed old
(Portage version: 2.2_rc48/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/ntl')
-rw-r--r--dev-libs/ntl/ChangeLog5
-rw-r--r--dev-libs/ntl/ntl-5.5.1.ebuild68
2 files changed, 4 insertions, 69 deletions
diff --git a/dev-libs/ntl/ChangeLog b/dev-libs/ntl/ChangeLog
index 0b386a4ded2a..c2c71aa041c8 100644
--- a/dev-libs/ntl/ChangeLog
+++ b/dev-libs/ntl/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-libs/ntl
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/ntl/ChangeLog,v 1.15 2009/08/26 18:28:40 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/ntl/ChangeLog,v 1.16 2009/11/12 18:36:12 bicatali Exp $
+
+ 12 Nov 2009; Sébastien Fabbro <bicatali@gentoo.org> -ntl-5.5.1.ebuild:
+ Removed old
*ntl-5.5.2 (26 Aug 2009)
diff --git a/dev-libs/ntl/ntl-5.5.1.ebuild b/dev-libs/ntl/ntl-5.5.1.ebuild
deleted file mode 100644
index 4f9bf1772ccf..000000000000
--- a/dev-libs/ntl/ntl-5.5.1.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/ntl/ntl-5.5.1.ebuild,v 1.1 2009/08/10 23:22:39 bicatali Exp $
-
-EAPI=2
-inherit toolchain-funcs eutils
-
-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 ~x86"
-IUSE="doc +gf2x +gmp"
-
-RDEPEND="gmp? ( >=dev-libs/gmp-4.3 )
- gf2x? ( >=dev-libs/gf2x-0.9 )"
-DEPEND="${RDEPEND}
- dev-lang/perl"
-
-S="${WORKDIR}/${P}/src"
-
-src_prepare() {
- cd ..
- # enable compatibility with singular
- epatch "$FILESDIR/${P}-singular.patch"
- # implement a call back framework ( submitted upstream)
- epatch "$FILESDIR/${P}-sage-tools.patch"
- # sanitize the makefile and allow the building of shared library
- epatch "$FILESDIR/${P}-shared.patch"
- cp "${FILESDIR}/linux.mk" src/
-}
-
-src_configure() {
- local myconf
- use gmp && myconf="${myconf} NTL_GMP_LIP=on"
- use gf2x && myconf="${myconf} NTL_GF2X_LIB=on"
- perl DoConfig \
- PREFIX=/usr \
- ${myconf} \
- CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" \
- CC="$(tc-getCC)" CXX="$(tc-getCXX)" \
- AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" \
- NTL_STD_CXX=on SHMAKE=linux \
- || die "DoConfig failed"
-}
-
-src_compile() {
- # scripts convoluted in makefile make it hard to parallel make
- emake -j1 || die "emake failed"
- emake shared || die "emake shared failed"
-}
-
-src_install() {
- newlib.a ntl.a libntl.a || die "installation of static library failed"
- dolib.so lib*.so || die "installation of shared library failed"
-
- cd ..
- insinto /usr/include
- doins -r include/NTL || die "installation of the headers failed"
-
- dodoc README
- if use doc ; then
- dodoc doc/*.txt
- dohtml doc/*
- fi
-}