1 |
bicatali 09/08/26 18:28:40 |
2 |
|
3 |
Modified: ChangeLog metadata.xml |
4 |
Added: ntl-5.5.2.ebuild |
5 |
Log: |
6 |
Version bump. Now gmp and gf2x are forced. Fixed parallel building, and hopefully as-needed issues (bug #282174). Simplified the shared lib patch. Added sci-mathematics herd as co-maintainer. |
7 |
(Portage version: 2.2_rc38/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.15 dev-libs/ntl/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/ntl/ChangeLog?rev=1.15&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/ntl/ChangeLog?rev=1.15&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/ntl/ChangeLog?r1=1.14&r2=1.15 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/ntl/ChangeLog,v |
19 |
retrieving revision 1.14 |
20 |
retrieving revision 1.15 |
21 |
diff -u -r1.14 -r1.15 |
22 |
--- ChangeLog 10 Aug 2009 23:22:39 -0000 1.14 |
23 |
+++ ChangeLog 26 Aug 2009 18:28:40 -0000 1.15 |
24 |
@@ -1,6 +1,17 @@ |
25 |
# ChangeLog for dev-libs/ntl |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/ntl/ChangeLog,v 1.14 2009/08/10 23:22:39 bicatali Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/ntl/ChangeLog,v 1.15 2009/08/26 18:28:40 bicatali Exp $ |
29 |
+ |
30 |
+*ntl-5.5.2 (26 Aug 2009) |
31 |
+ |
32 |
+ 26 Aug 2009; Sébastien Fabbro <bicatali@g.o> |
33 |
+ -files/ntl-5.5.1-sage-tools.patch, -files/ntl-5.5.1-shared.patch, |
34 |
+ -files/ntl-5.5.1-singular.patch, +ntl-5.5.2.ebuild, |
35 |
+ +files/ntl-5.5.2-sage-tools.patch, +files/ntl-5.5.2-shared.patch, |
36 |
+ +files/ntl-5.5.2-singular.patch, -files/linux.mk, metadata.xml: |
37 |
+ Version bump. Now gmp and gf2x are forced. Fixed parallel building, and |
38 |
+ hopefully as-needed issues (bug #282174). Simplified the shared lib patch. |
39 |
+ Added sci-mathematics herd as co-maintainer. |
40 |
|
41 |
*ntl-5.5.1 (10 Aug 2009) |
42 |
|
43 |
|
44 |
|
45 |
|
46 |
1.3 dev-libs/ntl/metadata.xml |
47 |
|
48 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/ntl/metadata.xml?rev=1.3&view=markup |
49 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/ntl/metadata.xml?rev=1.3&content-type=text/plain |
50 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/ntl/metadata.xml?r1=1.2&r2=1.3 |
51 |
|
52 |
Index: metadata.xml |
53 |
=================================================================== |
54 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/ntl/metadata.xml,v |
55 |
retrieving revision 1.2 |
56 |
retrieving revision 1.3 |
57 |
diff -u -r1.2 -r1.3 |
58 |
--- metadata.xml 10 Aug 2009 23:22:39 -0000 1.2 |
59 |
+++ metadata.xml 26 Aug 2009 18:28:40 -0000 1.3 |
60 |
@@ -1,6 +1,7 @@ |
61 |
<?xml version="1.0" encoding="UTF-8"?> |
62 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
63 |
<pkgmetadata> |
64 |
+<herd>sci-mathematics</herd> |
65 |
<herd>cpp</herd> |
66 |
<longdescription lang="en"> |
67 |
NTL is a high-performance, portable C++ library providing data |
68 |
|
69 |
|
70 |
|
71 |
1.1 dev-libs/ntl/ntl-5.5.2.ebuild |
72 |
|
73 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/ntl/ntl-5.5.2.ebuild?rev=1.1&view=markup |
74 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/ntl/ntl-5.5.2.ebuild?rev=1.1&content-type=text/plain |
75 |
|
76 |
Index: ntl-5.5.2.ebuild |
77 |
=================================================================== |
78 |
# Copyright 1999-2009 Gentoo Foundation |
79 |
# Distributed under the terms of the GNU General Public License v2 |
80 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/ntl/ntl-5.5.2.ebuild,v 1.1 2009/08/26 18:28:40 bicatali Exp $ |
81 |
|
82 |
EAPI=2 |
83 |
inherit toolchain-funcs eutils |
84 |
|
85 |
DESCRIPTION="High-performance and portable Number Theory C++ library" |
86 |
HOMEPAGE="http://shoup.net/ntl/" |
87 |
SRC_URI="http://www.shoup.net/ntl/${P}.tar.gz" |
88 |
|
89 |
LICENSE="GPL-2" |
90 |
SLOT="0" |
91 |
KEYWORDS="~amd64 ~x86" |
92 |
IUSE="doc" |
93 |
|
94 |
RDEPEND=">=dev-libs/gmp-4.3 |
95 |
>=dev-libs/gf2x-0.9" |
96 |
DEPEND="${RDEPEND} |
97 |
dev-lang/perl" |
98 |
|
99 |
S="${WORKDIR}/${P}/src" |
100 |
|
101 |
src_prepare() { |
102 |
# fix parallel make |
103 |
sed -i -e "s/make/make ${MAKEOPTS}/g" WizardAux || die |
104 |
cd .. |
105 |
# enable compatibility with singular |
106 |
epatch "$FILESDIR/${P}-singular.patch" |
107 |
# implement a call back framework ( submitted upstream) |
108 |
epatch "$FILESDIR/${P}-sage-tools.patch" |
109 |
# sanitize the makefile and allow the building of shared library |
110 |
epatch "$FILESDIR/${P}-shared.patch" |
111 |
} |
112 |
|
113 |
src_configure() { |
114 |
perl DoConfig \ |
115 |
PREFIX=/usr \ |
116 |
CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" \ |
117 |
CC="$(tc-getCC)" CXX="$(tc-getCXX)" \ |
118 |
AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" \ |
119 |
NTL_STD_CXX=on NTL_GMP_LIP=on NTL_GF2X_LIB=on \ |
120 |
|| die "DoConfig failed" |
121 |
} |
122 |
|
123 |
src_compile() { |
124 |
# split the targets to allow parallel make to run properly |
125 |
emake setup1 setup2 || die "emake setup failed" |
126 |
emake setup3 || die "emake setup failed" |
127 |
sh Wizard on || die "Tuning wizard failed" |
128 |
emake ntl.a || die "emake static failed" |
129 |
emake shared || die "emake shared failed" |
130 |
} |
131 |
|
132 |
src_install() { |
133 |
newlib.a ntl.a libntl.a || die "installation of static library failed" |
134 |
dolib.so lib*.so || die "installation of shared library failed" |
135 |
|
136 |
cd .. |
137 |
insinto /usr/include |
138 |
doins -r include/NTL || die "installation of the headers failed" |
139 |
|
140 |
dodoc README |
141 |
if use doc ; then |
142 |
dodoc doc/*.txt || die |
143 |
dohtml doc/* || die |
144 |
fi |
145 |
} |