From 1f2841aa270977cb6d0b605dd6ed4d04aaa2c923 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 3 Mar 2006 03:24:29 +0000 Subject: Fixes by Bruce Guenter to build a shared library #124692. Package-Manager: portage-2.1_pre5-r2 --- dev-libs/libtommath/ChangeLog | 10 ++++-- dev-libs/libtommath/Manifest | 39 +++++++++++++++++++--- .../libtommath/files/digest-libtommath-0.36-r1 | 1 + .../files/libtommath-0.36-shared-lib.patch | 18 ++++++++++ dev-libs/libtommath/libtommath-0.36-r1.ebuild | 33 ++++++++++++++++++ dev-libs/libtommath/libtommath-0.36.ebuild | 4 +-- 6 files changed, 97 insertions(+), 8 deletions(-) create mode 100644 dev-libs/libtommath/files/digest-libtommath-0.36-r1 create mode 100644 dev-libs/libtommath/files/libtommath-0.36-shared-lib.patch create mode 100644 dev-libs/libtommath/libtommath-0.36-r1.ebuild (limited to 'dev-libs/libtommath') diff --git a/dev-libs/libtommath/ChangeLog b/dev-libs/libtommath/ChangeLog index 8753f688e1ad..618f3fcc5907 100644 --- a/dev-libs/libtommath/ChangeLog +++ b/dev-libs/libtommath/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-libs/libtommath -# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtommath/ChangeLog,v 1.14 2005/10/11 18:39:17 grobian Exp $ +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtommath/ChangeLog,v 1.15 2006/03/03 03:24:28 vapier Exp $ + +*libtommath-0.36-r1 (03 Mar 2006) + + 03 Mar 2006; Mike Frysinger + +files/libtommath-0.36-shared-lib.patch, +libtommath-0.36-r1.ebuild: + Fixes by Bruce Guenter to build a shared library #124692. 11 Oct 2005; Fabian Groffen libtommath-0.36.ebuild: Marked ~ppc-macos (bug #108462) diff --git a/dev-libs/libtommath/Manifest b/dev-libs/libtommath/Manifest index 69933ad8635a..abc7d13a0846 100644 --- a/dev-libs/libtommath/Manifest +++ b/dev-libs/libtommath/Manifest @@ -1,6 +1,37 @@ -MD5 e835ede9baaeb3c99be927e05939fd78 libtommath-0.36.ebuild 667 -MD5 5c50d006bc68b8664e4b6234ddf8f12e ChangeLog 1759 -MD5 1975fddb3dc5a2ef223a6fd719dc9523 metadata.xml 2651 -MD5 87523239a8e9209fca019fb62dc7444a libtommath-0.35.ebuild 604 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 c8e506dd61a9aee67c584908551d4581 ChangeLog 1975 +RMD160 0938b547b77b06797cc8a3db4d6fc9d55db1a571 ChangeLog 1975 +SHA256 e4c3f9ee3e7497c3aa5dc11959510bb73870dd52fb553d937384b15c06d0a744 ChangeLog 1975 MD5 04ebd08cc7e4122c2e5ef0118959c176 files/digest-libtommath-0.35 62 +RMD160 86f5d04870ae93297cf5b05ed5579eed9c148503 files/digest-libtommath-0.35 62 +SHA256 2ef11367d436038caece9b1761c5fab364aa66b9e9f7ace807be6781ab665540 files/digest-libtommath-0.35 62 MD5 83cd756148c5260fa077190d61ab987b files/digest-libtommath-0.36 62 +RMD160 cbdbe04455b9ced10095cc4e585151d50a817ff5 files/digest-libtommath-0.36 62 +SHA256 1919903937e871e53aa38cb0d77e3a9da92efd30401faaed3f18082b64375d3f files/digest-libtommath-0.36 62 +MD5 83cd756148c5260fa077190d61ab987b files/digest-libtommath-0.36-r1 62 +RMD160 cbdbe04455b9ced10095cc4e585151d50a817ff5 files/digest-libtommath-0.36-r1 62 +SHA256 1919903937e871e53aa38cb0d77e3a9da92efd30401faaed3f18082b64375d3f files/digest-libtommath-0.36-r1 62 +MD5 fe30d50167368627b013e2a11f0af8ac files/libtommath-0.36-shared-lib.patch 649 +RMD160 e8769bb757003d01ed8fff3b188e07ff4b93bdae files/libtommath-0.36-shared-lib.patch 649 +SHA256 493d6be0f8d90d7f2a5ffdd9c36a55ddd70b6c17de05d0aff870336fc481d0f1 files/libtommath-0.36-shared-lib.patch 649 +MD5 87523239a8e9209fca019fb62dc7444a libtommath-0.35.ebuild 604 +RMD160 8b20d3f6478f6ec20c35e36f411289da8992768b libtommath-0.35.ebuild 604 +SHA256 ce968a1616d28a7b4c25bac76e4fc7a5b935ffb89b797e3501578f631e087030 libtommath-0.35.ebuild 604 +MD5 1c2cba91cc9889b63fe4682f6981dd68 libtommath-0.36-r1.ebuild 848 +RMD160 a98ce0243b3f635f748e4d1fadfb22630b1f87ee libtommath-0.36-r1.ebuild 848 +SHA256 b3afe0877c524b73fdf4c048dbfec5ba5e1b88e734a7afd6556bae4518485c65 libtommath-0.36-r1.ebuild 848 +MD5 5afac0db0d425286d04f7e396f199a7a libtommath-0.36.ebuild 663 +RMD160 bf9b8aa6eca6b52291ceb11ff3dc2203f0596337 libtommath-0.36.ebuild 663 +SHA256 677eb3da3db52ee92ffa5accee63e1e7badd5f0361e86192c7575bddaf1438b2 libtommath-0.36.ebuild 663 +MD5 1975fddb3dc5a2ef223a6fd719dc9523 metadata.xml 2651 +RMD160 161e39f26c40af0092b60da3a4d160a6b05c1d4c metadata.xml 2651 +SHA256 2e9300d449e61d31d6a36f98430599a8aaff4ad32b4281492c3702d98784b1b3 metadata.xml 2651 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.2.1 (GNU/Linux) + +iD8DBQFEB7cg2+ySkm8kpY0RAvQNAJ4m3NYWw2VzJ/vAcqzglX3tt5SJbACfXc/O +hLD3ChTTz+bGbAhaFxXXc2c= +=FtMH +-----END PGP SIGNATURE----- diff --git a/dev-libs/libtommath/files/digest-libtommath-0.36-r1 b/dev-libs/libtommath/files/digest-libtommath-0.36-r1 new file mode 100644 index 000000000000..ca35fa04a92c --- /dev/null +++ b/dev-libs/libtommath/files/digest-libtommath-0.36-r1 @@ -0,0 +1 @@ +MD5 cd4f9305e1b721b3c3eb7bcdc25abfc6 ltm-0.36.tar.bz2 1924150 diff --git a/dev-libs/libtommath/files/libtommath-0.36-shared-lib.patch b/dev-libs/libtommath/files/libtommath-0.36-shared-lib.patch new file mode 100644 index 000000000000..4ad81df66f39 --- /dev/null +++ b/dev-libs/libtommath/files/libtommath-0.36-shared-lib.patch @@ -0,0 +1,18 @@ +patch by Bruce Guenter + +http://bugs.gentoo.org/124692 + +--- libtommath-0.36/makefile.shared ++++ libtommath-0.36/makefile.shared +@@ -84,7 +84,10 @@ + libtool --mode=link gcc *.lo -o $(LIBNAME) -rpath $(LIBPATH) -version-info $(VERSION) + libtool --mode=link gcc *.o -o $(LIBNAME_S) + ranlib $(LIBNAME_S) +- libtool --mode=install install -c $(LIBNAME) $(LIBPATH)/$@ ++ ++install: $(LIBNAME) $(HEADERS) ++ install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(LIBPATH) ++ libtool --mode=install install -c $(LIBNAME) $(DESTDIR)$(LIBPATH)/$@ + install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(INCPATH) + install -g $(GROUP) -o $(USER) $(HEADERS) $(DESTDIR)$(INCPATH) + diff --git a/dev-libs/libtommath/libtommath-0.36-r1.ebuild b/dev-libs/libtommath/libtommath-0.36-r1.ebuild new file mode 100644 index 000000000000..9a0603ec33b7 --- /dev/null +++ b/dev-libs/libtommath/libtommath-0.36-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtommath/libtommath-0.36-r1.ebuild,v 1.1 2006/03/03 03:24:28 vapier Exp $ + +inherit eutils + +DESCRIPTION="highly optimized and portable routines for integer based number theoretic applications" +HOMEPAGE="http://math.libtomcrypt.org/" +SRC_URI="http://math.libtomcrypt.org/files/ltm-${PV}.tar.bz2" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc-macos ~x86" +IUSE="" + +DEPEND="sys-devel/libtool" +RDEPEND="" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-shared-lib.patch +} + +src_compile() { + emake -f makefile.shared IGNORE_SPEED=1 || die +} + +src_install() { + make -f makefile.shared install DESTDIR="${D}" || die + dodoc changes.txt *.pdf + docinto demo ; dodoc demo/* +} diff --git a/dev-libs/libtommath/libtommath-0.36.ebuild b/dev-libs/libtommath/libtommath-0.36.ebuild index d74a0558daac..d22f064b9f65 100644 --- a/dev-libs/libtommath/libtommath-0.36.ebuild +++ b/dev-libs/libtommath/libtommath-0.36.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtommath/libtommath-0.36.ebuild,v 1.4 2006/03/03 03:24:04 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtommath/libtommath-0.36.ebuild,v 1.5 2006/03/03 03:24:28 vapier Exp $ DESCRIPTION="highly optimized and portable routines for integer based number theoretic applications" HOMEPAGE="http://math.libtomcrypt.org/" -- cgit v1.2.3-65-gdbad