summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2008-06-10 02:36:05 +0000
committerJeremy Olexa <darkside@gentoo.org>2008-06-10 02:36:05 +0000
commit9f2904d0a8f74aebd17dc23bd9d0768bd87f6c30 (patch)
tree96221ab22b695e1d1ab4fb8aa4b5b1afab910a3c /dev-libs/libtommath
parentHost tarball on Gentoo's mirrors (diff)
downloadhistorical-9f2904d0a8f74aebd17dc23bd9d0768bd87f6c30.tar.gz
historical-9f2904d0a8f74aebd17dc23bd9d0768bd87f6c30.tar.bz2
historical-9f2904d0a8f74aebd17dc23bd9d0768bd87f6c30.zip
Version bump. bug #162161. Thanks to hawking & Rafa# Mu#y#o for the contributions
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'dev-libs/libtommath')
-rw-r--r--dev-libs/libtommath/ChangeLog9
-rw-r--r--dev-libs/libtommath/Manifest15
-rw-r--r--dev-libs/libtommath/files/libtommath-0.41-LDFLAGS.patch28
-rw-r--r--dev-libs/libtommath/libtommath-0.41.ebuild33
4 files changed, 73 insertions, 12 deletions
diff --git a/dev-libs/libtommath/ChangeLog b/dev-libs/libtommath/ChangeLog
index 4f23bd71bd0e..ace4f75af5e8 100644
--- a/dev-libs/libtommath/ChangeLog
+++ b/dev-libs/libtommath/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-libs/libtommath
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtommath/ChangeLog,v 1.21 2008/02/22 14:02:53 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtommath/ChangeLog,v 1.22 2008/06/10 02:36:04 darkside Exp $
+
+*libtommath-0.41 (10 Jun 2008)
+
+ 10 Jun 2008; Jeremy Olexa <darkside@gentoo.org>
+ +files/libtommath-0.41-LDFLAGS.patch, +libtommath-0.41.ebuild:
+ Version bump. bug #162161. Thanks to hawking & Rafa# Mu#y#o for the
+ contributions
22 Feb 2008; Diego Pettenò <flameeyes@gentoo.org>
libtommath-0.36-r1.ebuild:
diff --git a/dev-libs/libtommath/Manifest b/dev-libs/libtommath/Manifest
index 0cd2bd5950ec..12c46229a9db 100644
--- a/dev-libs/libtommath/Manifest
+++ b/dev-libs/libtommath/Manifest
@@ -1,16 +1,9 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX libtommath-0.36-LDFLAGS.patch 1017 RMD160 fd42d3f614fcbf13dd72084a95a275c719b524b5 SHA1 060ececae235aeac62af2988fadc6b122a61c9df SHA256 d995282988eadb5a5bad6306025269ca1003523cff5e887a993e915a611c8dd7
AUX libtommath-0.36-shared-lib.patch 948 RMD160 0dd3cd1bb4508623c24e4f57106d05975d81904f SHA1 6a65b2c21db1bfdfe342d78cff4204da495c6b06 SHA256 c09eae16b6094ba85e78413abc72b57437c51abfd9caff9aa87558223a385b23
+AUX libtommath-0.41-LDFLAGS.patch 1238 RMD160 a2d084bd5fc0ad19bb0508e0b5702f029d0d8834 SHA1 62218b2de135c5670dae14d959cfa9194ee18083 SHA256 0aa280b6f8daf7d4a6f8851afe7945cb59c8ea4ef991c39331450c7d395b35eb
DIST ltm-0.36.tar.bz2 1924150 RMD160 f9fc66d076913b7e6b0226470b5cff3caa704c2d SHA1 f62419350a13d3f771dd2912b688b37dc912666a SHA256 16243c61694a52553a2d65c097456e024d8dcd9e3571c8f712ca163eaa769c6b
+DIST ltm-0.41.tar.bz2 1972854 RMD160 de6de0aedba8eb37687b4f583263713f1882fec8 SHA1 a6db2221c64a1951c5c78d573dbf427f989fd346 SHA256 8e397fc42a12f520ea50c29e477a8768a6f974af2470636f6f807141c13a240c
EBUILD libtommath-0.36-r1.ebuild 960 RMD160 59d4179ae6ae27869fcf10ae63dd585de2de042e SHA1 935ca004e8f04812939dba19ebd030b7a6ab5aea SHA256 a011fe5957f305edb75a0cb22432d0f752ff529e21f3604b3c38700b1f494ce2
-MISC ChangeLog 2724 RMD160 0568a86e965abbc086c8dbf89717524909fb85c0 SHA1 cdacc8f65bbb6b3e4cb6c2be27dff35dc8e7ae78 SHA256 13970e57a2ac77e4084bdb662a3c674322bb1eb65615d725057e2092db9ff02a
+EBUILD libtommath-0.41.ebuild 893 RMD160 345284db5ce60707dd65328c094acf0d1c9e2b63 SHA1 921c4b3b2e78237112df243d44186bf4289af5b2 SHA256 3066977a6d330421215e285da048e43db99b08ad48af40bb1865f8463ce203ca
+MISC ChangeLog 2957 RMD160 4d6cd5f3107cff88808f94ecf6fb9892c2f0787a SHA1 6ed392fd26c1872db2b7e9b2a01a13b03ff0937f SHA256 6968be040e7b28e459c955d5873128f5e98b5338231df01825fc525fb0233152
MISC metadata.xml 2662 RMD160 64a4426afa4ed972072ac453de6ddba02998ecb1 SHA1 52363e266c2afa9cec44200f9220c0a8c8e980f2 SHA256 4bcdaa04e39364577f1851cd36aa129a23dbbae0c3870258b5c25e9413e0b74b
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.7 (GNU/Linux)
-
-iD8DBQFIQNfcj9hvisErhMIRAtJ2AJ9NRddtcuw2Z0HD+lDW833I77gb5wCfV89q
-i8gjOe8/os/qIZLHBGmnOv8=
-=AXhe
------END PGP SIGNATURE-----
diff --git a/dev-libs/libtommath/files/libtommath-0.41-LDFLAGS.patch b/dev-libs/libtommath/files/libtommath-0.41-LDFLAGS.patch
new file mode 100644
index 000000000000..1997f61a2fa2
--- /dev/null
+++ b/dev-libs/libtommath/files/libtommath-0.41-LDFLAGS.patch
@@ -0,0 +1,28 @@
+--- makefile.shared.old 2007-03-11 00:45:11.000000000 +0100
++++ makefile.shared 2007-11-06 17:21:45.000000000 +0100
+@@ -83,20 +83,20 @@
+ objs: $(OBJECTS)
+
+ $(LIBNAME): $(OBJECTS)
+- libtool --mode=link gcc *.lo -o $(LIBNAME) -rpath $(LIBPATH) -version-info $(VERSION)
++ libtool --mode=link --tag=CC gcc $(LDFLAGS) *.lo -o $(LIBNAME) -rpath $(LIBPATH) -version-info $(VERSION)
+
+ install: $(LIBNAME)
+ install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(LIBPATH)
+ libtool --mode=install install -c $(LIBNAME) $(DESTDIR)$(LIBPATH)/$(LIBNAME)
+ install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(INCPATH)
+- install -g $(GROUP) -o $(USER) $(HEADERS) $(DESTDIR)$(INCPATH)
++ install -m 644 -g $(GROUP) -o $(USER) $(HEADERS) $(DESTDIR)$(INCPATH)
+
+ test: $(LIBNAME) demo/demo.o
+ gcc $(CFLAGS) -c demo/demo.c -o demo/demo.o
+- libtool --mode=link gcc -o test demo/demo.o $(LIBNAME_S)
++ libtool --mode=link gcc $(LDFLAGS) -o test demo/demo.o $(LIBNAME_S)
+
+ mtest: test
+- cd mtest ; gcc $(CFLAGS) mtest.c -o mtest
++ cd mtest ; gcc $(CFLAGS) $(LDFLAGS) mtest.c -o mtest
+
+ timing: $(LIBNAME)
+- gcc $(CFLAGS) -DTIMER demo/timing.c $(LIBNAME_S) -o ltmtest
++ libtool --mode=link gcc $(CFLAGS) $(LDFLAGS) -DTIMER demo/timing.c $(LIBNAME_S) -o ltmtest
diff --git a/dev-libs/libtommath/libtommath-0.41.ebuild b/dev-libs/libtommath/libtommath-0.41.ebuild
new file mode 100644
index 000000000000..0829d27db0d6
--- /dev/null
+++ b/dev-libs/libtommath/libtommath-0.41.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtommath/libtommath-0.41.ebuild,v 1.1 2008/06/10 02:36:04 darkside Exp $
+
+inherit eutils multilib
+
+DESCRIPTION="highly optimized and portable routines for integer based number theoretic applications"
+HOMEPAGE="http://www.libtom.org/"
+SRC_URI="http://www.libtom.org/files/ltm-${PV}.tar.bz2"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND="sys-devel/libtool"
+RDEPEND=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-LDFLAGS.patch
+}
+
+src_compile() {
+ emake -f makefile.shared IGNORE_SPEED=1 || die "emake failed"
+}
+
+src_install() {
+ make -f makefile.shared install DESTDIR="${D}" LIBPATH="/usr/$(get_libdir)" || die
+ dodoc changes.txt *.pdf
+ docinto demo ; dodoc demo/*.c
+}