1 |
commit: 1258b1cdce5caf9af04442f82918f7108532b0bc |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 9 23:04:58 2020 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 9 23:04:58 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1258b1cd |
7 |
|
8 |
dev-libs/libtommath: Remove old |
9 |
|
10 |
Package-Manager: Portage-2.3.88, Repoman-2.3.20 |
11 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
12 |
|
13 |
dev-libs/libtommath/Manifest | 2 - |
14 |
.../files/libtommath-0.42.0-makefile.patch | 47 -------------- |
15 |
dev-libs/libtommath/libtommath-0.42.0-r1.ebuild | 65 ------------------- |
16 |
dev-libs/libtommath/libtommath-1.0.1.ebuild | 72 ---------------------- |
17 |
4 files changed, 186 deletions(-) |
18 |
|
19 |
diff --git a/dev-libs/libtommath/Manifest b/dev-libs/libtommath/Manifest |
20 |
index 252e843e5fd..f9af84786c5 100644 |
21 |
--- a/dev-libs/libtommath/Manifest |
22 |
+++ b/dev-libs/libtommath/Manifest |
23 |
@@ -1,3 +1 @@ |
24 |
-DIST libtommath-0.42.0.tar.gz 1732144 BLAKE2B 624697bfa0bab0244783c3d2c92df2a1c0418611dc7f25989d038a5689beae325a426d8de38967ec856bd1e6f2d9413615333eebbf9316add838deda5b122de3 SHA512 d26e7737e5750530a7b96432502f0d458931e67af528872c46ad8dfc921b8f6ef4b3e05cb07d22bd13a8b24db65812928ae4c381250a4df95f6ca55efc3dae23 |
25 |
-DIST ltm-1.0.1.tar.xz 2210120 BLAKE2B e616f0359a1fffe8e1280dc24df1a83eb568d55f9f8acd0e4016fdd63b8ef10d939a8acbd4d49d70a69adf0e492ea5127200798f02af6af1c30e2e1f57870e3a SHA512 f98f7b0f91268e898803478fd52f578f476d378d096a25e48fa2e291159dc89bd1a6dc7d8c5c2254df840c731e5d009ec9728b72190318b6d1ba2916f5c66fb6 |
26 |
DIST ltm-1.1.0.tar.xz 2125456 BLAKE2B 3aca7993704341f6a81e7fbef35389ac8ecd957dd78b5d576f0305d37493c3ddc32462cd787de2fb67d8e165417b18fcfde70accf991cd9433ff87591d8265ac SHA512 6d1b8b09d5b975a2b84ef6ab9cb1cc63db2f0503a906e499cb9d7eaba3f487be6e7f69bf692b188f888418c61ea563aa7e2411638d8979eac426b3d603ad1b91 |
27 |
|
28 |
diff --git a/dev-libs/libtommath/files/libtommath-0.42.0-makefile.patch b/dev-libs/libtommath/files/libtommath-0.42.0-makefile.patch |
29 |
deleted file mode 100644 |
30 |
index b3f1ed6252c..00000000000 |
31 |
--- a/dev-libs/libtommath/files/libtommath-0.42.0-makefile.patch |
32 |
+++ /dev/null |
33 |
@@ -1,47 +0,0 @@ |
34 |
---- makefile.shared |
35 |
-+++ makefile.shared |
36 |
-@@ -3,7 +3,8 @@ |
37 |
- #Tom St Denis |
38 |
- VERSION=0:41 |
39 |
- |
40 |
--CC = libtool --mode=compile --tag=CC gcc |
41 |
-+LT ?= libtool |
42 |
-+LTCOMPILE = $(LT) --mode=compile --tag=CC $(CC) |
43 |
- |
44 |
- CFLAGS += -I./ -Wall -W -Wshadow -Wsign-compare |
45 |
- |
46 |
-@@ -82,21 +83,24 @@ |
47 |
- |
48 |
- objs: $(OBJECTS) |
49 |
- |
50 |
-+%.lo: %.c |
51 |
-+ $(LTCOMPILE) $(CFLAGS) $(CPPFLAGS) -o $@ -c $< |
52 |
-+ |
53 |
--$(LIBNAME): $(OBJECTS) |
54 |
-- libtool --mode=link gcc *.lo -o $(LIBNAME) -rpath $(LIBPATH) -version-info $(VERSION) |
55 |
-+$(LIBNAME): $(OBJECTS:.o=.lo) |
56 |
-+ $(LT) --mode=link --tag=CC $(CC) $(CFLAGS) $(LDFLAGS) *.lo -o $(LIBNAME) -rpath $(LIBPATH) -version-info $(VERSION) |
57 |
- |
58 |
- install: $(LIBNAME) |
59 |
-- install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(LIBPATH) |
60 |
-- libtool --mode=install install -c $(LIBNAME) $(DESTDIR)$(LIBPATH)/$(LIBNAME) |
61 |
-- install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(INCPATH) |
62 |
-- install -g $(GROUP) -o $(USER) $(HEADERS) $(DESTDIR)$(INCPATH) |
63 |
-+ install -d $(DESTDIR)$(LIBPATH) |
64 |
-+ $(LT) --mode=install install -c $(LIBNAME) $(DESTDIR)$(LIBPATH)/$(LIBNAME) |
65 |
-+ install -d $(DESTDIR)$(INCPATH) |
66 |
-+ install -m 644 $(HEADERS) $(DESTDIR)$(INCPATH) |
67 |
- |
68 |
- test: $(LIBNAME) demo/demo.o |
69 |
-- gcc $(CFLAGS) -c demo/demo.c -o demo/demo.o |
70 |
-- libtool --mode=link gcc -o test demo/demo.o $(LIBNAME_S) |
71 |
-+ $(CC) $(CFLAGS) $(CPPFLAGS) -c demo/demo.c -o demo/demo.o |
72 |
-+ $(LT) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o test demo/demo.o $(LIBNAME_S) |
73 |
- |
74 |
- mtest: test |
75 |
-- cd mtest ; gcc $(CFLAGS) mtest.c -o mtest |
76 |
-+ cd mtest ; $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) mtest.c -o mtest |
77 |
- |
78 |
- timing: $(LIBNAME) |
79 |
-- gcc $(CFLAGS) -DTIMER demo/timing.c $(LIBNAME_S) -o ltmtest |
80 |
-+ $(LT) --mode=link $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -DTIMER demo/timing.c $(LIBNAME_S) -o ltmtest |
81 |
|
82 |
diff --git a/dev-libs/libtommath/libtommath-0.42.0-r1.ebuild b/dev-libs/libtommath/libtommath-0.42.0-r1.ebuild |
83 |
deleted file mode 100644 |
84 |
index a1596d889e3..00000000000 |
85 |
--- a/dev-libs/libtommath/libtommath-0.42.0-r1.ebuild |
86 |
+++ /dev/null |
87 |
@@ -1,65 +0,0 @@ |
88 |
-# Copyright 1999-2017 Gentoo Foundation |
89 |
-# Distributed under the terms of the GNU General Public License v2 |
90 |
- |
91 |
-EAPI=4 |
92 |
- |
93 |
-inherit autotools eutils multilib toolchain-funcs |
94 |
- |
95 |
-DESCRIPTION="Optimized and portable routines for integer theoretic applications" |
96 |
-HOMEPAGE="https://github.com/libtom/libtommath" |
97 |
-SRC_URI="https://github.com/libtom/libtommath/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
98 |
- |
99 |
-LICENSE="WTFPL-2" |
100 |
-SLOT="0" |
101 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" |
102 |
-IUSE="doc examples static-libs" |
103 |
- |
104 |
-DEPEND="sys-devel/libtool" |
105 |
-RDEPEND="" |
106 |
- |
107 |
-src_prepare() { |
108 |
- epatch "${FILESDIR}"/${P}-makefile.patch |
109 |
- |
110 |
- # need libtool for cross compilation. Bug #376643 |
111 |
- cat <<-EOF > configure.ac |
112 |
- AC_INIT(libtommath, 0) |
113 |
- AM_INIT_AUTOMAKE |
114 |
- LT_INIT |
115 |
- AC_CONFIG_FILES(Makefile) |
116 |
- AC_OUTPUT |
117 |
- EOF |
118 |
- touch NEWS README AUTHORS ChangeLog Makefile.am |
119 |
- eautoreconf |
120 |
- export LT="${S}"/libtool |
121 |
-} |
122 |
- |
123 |
-src_configure() { |
124 |
- econf $(use_enable static-libs static) |
125 |
-} |
126 |
- |
127 |
-_emake() { |
128 |
- emake CC="$(tc-getCC)" -f makefile.shared \ |
129 |
- IGNORE_SPEED=1 \ |
130 |
- LIBPATH="${EPREFIX}/usr/$(get_libdir)" \ |
131 |
- INCPATH="${EPREFIX}/usr/include" \ |
132 |
- "$@" |
133 |
-} |
134 |
- |
135 |
-src_compile() { |
136 |
- _emake |
137 |
-} |
138 |
- |
139 |
-src_install() { |
140 |
- _emake DESTDIR="${ED}" install |
141 |
- # We only link against -lc, so drop the .la file. |
142 |
- find "${ED}" -name '*.la' -delete |
143 |
- |
144 |
- dodoc changes.txt |
145 |
- |
146 |
- use doc && dodoc *.pdf |
147 |
- |
148 |
- if use examples ; then |
149 |
- docinto demo |
150 |
- dodoc demo/*.c |
151 |
- fi |
152 |
-} |
153 |
|
154 |
diff --git a/dev-libs/libtommath/libtommath-1.0.1.ebuild b/dev-libs/libtommath/libtommath-1.0.1.ebuild |
155 |
deleted file mode 100644 |
156 |
index 8f04224dc87..00000000000 |
157 |
--- a/dev-libs/libtommath/libtommath-1.0.1.ebuild |
158 |
+++ /dev/null |
159 |
@@ -1,72 +0,0 @@ |
160 |
-# Copyright 1999-2017 Gentoo Foundation |
161 |
-# Distributed under the terms of the GNU General Public License v2 |
162 |
- |
163 |
-EAPI=6 |
164 |
- |
165 |
-inherit autotools eutils multilib toolchain-funcs |
166 |
- |
167 |
-DESCRIPTION="Optimized and portable routines for integer theoretic applications" |
168 |
-HOMEPAGE="http://www.libtom.net/" |
169 |
-SRC_URI="https://github.com/libtom/libtommath/releases/download/v${PV}/ltm-${PV}.tar.xz" |
170 |
- |
171 |
-LICENSE="WTFPL-2" |
172 |
-SLOT="0" |
173 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" |
174 |
-IUSE="doc examples static-libs" |
175 |
- |
176 |
-DEPEND="sys-devel/libtool" |
177 |
- |
178 |
-src_prepare() { |
179 |
- default |
180 |
- # need libtool for cross compilation. Bug #376643 |
181 |
- cat <<-EOF > configure.ac |
182 |
- AC_INIT(libtommath, 0) |
183 |
- AM_INIT_AUTOMAKE |
184 |
- LT_INIT |
185 |
- AC_CONFIG_FILES(Makefile) |
186 |
- AC_OUTPUT |
187 |
- EOF |
188 |
- touch NEWS README AUTHORS ChangeLog Makefile.am |
189 |
- eautoreconf |
190 |
- export LT="${S}"/libtool |
191 |
-} |
192 |
- |
193 |
-src_configure() { |
194 |
- econf $(use_enable static-libs static) |
195 |
-} |
196 |
- |
197 |
-_emake() { |
198 |
- emake \ |
199 |
- CC="$(tc-getCC)" \ |
200 |
- AR="$(tc-getAR)" \ |
201 |
- RANLIB="$(tc-getRANLIB)" \ |
202 |
- -f makefile.shared \ |
203 |
- IGNORE_SPEED=1 \ |
204 |
- LIBPATH="${EPREFIX}/usr/$(get_libdir)" \ |
205 |
- INCPATH="${EPREFIX}/usr/include" \ |
206 |
- "$@" |
207 |
-} |
208 |
- |
209 |
-src_compile() { |
210 |
- _emake |
211 |
-} |
212 |
- |
213 |
-src_test() { |
214 |
- _emake test_standalone |
215 |
- ./test || die |
216 |
-} |
217 |
- |
218 |
-src_install() { |
219 |
- _emake DESTDIR="${D}" install |
220 |
- # We only link against -lc, so drop the .la file. |
221 |
- find "${ED}" -name '*.la' -delete |
222 |
- |
223 |
- dodoc changes.txt |
224 |
- |
225 |
- use doc && dodoc *.pdf |
226 |
- |
227 |
- if use examples ; then |
228 |
- docinto demo |
229 |
- dodoc demo/*.c |
230 |
- fi |
231 |
-} |