public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jeroen Roovers" <jer@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libtommath/
Date: Fri, 15 Dec 2017 08:12:25 +0000 (UTC)	[thread overview]
Message-ID: <1513325543.02beaf2561fa74a73ed17336905b720ca3234482.jer@gentoo> (raw)

commit:     02beaf2561fa74a73ed17336905b720ca3234482
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 15 08:11:57 2017 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Fri Dec 15 08:12:23 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02beaf25

dev-libs/libtommath: Version bump.

Package-Manager: Portage-2.3.18, Repoman-2.3.6

 dev-libs/libtommath/Manifest                |  1 +
 dev-libs/libtommath/libtommath-1.0.1.ebuild | 72 +++++++++++++++++++++++++++++
 2 files changed, 73 insertions(+)

diff --git a/dev-libs/libtommath/Manifest b/dev-libs/libtommath/Manifest
index ce4219925a8..1b15f3aaffe 100644
--- a/dev-libs/libtommath/Manifest
+++ b/dev-libs/libtommath/Manifest
@@ -1,2 +1,3 @@
 DIST libtommath-0.42.0.tar.gz 1732144 BLAKE2B 624697bfa0bab0244783c3d2c92df2a1c0418611dc7f25989d038a5689beae325a426d8de38967ec856bd1e6f2d9413615333eebbf9316add838deda5b122de3 SHA512 d26e7737e5750530a7b96432502f0d458931e67af528872c46ad8dfc921b8f6ef4b3e05cb07d22bd13a8b24db65812928ae4c381250a4df95f6ca55efc3dae23
+DIST ltm-1.0.1.tar.xz 2210120 BLAKE2B e616f0359a1fffe8e1280dc24df1a83eb568d55f9f8acd0e4016fdd63b8ef10d939a8acbd4d49d70a69adf0e492ea5127200798f02af6af1c30e2e1f57870e3a SHA512 f98f7b0f91268e898803478fd52f578f476d378d096a25e48fa2e291159dc89bd1a6dc7d8c5c2254df840c731e5d009ec9728b72190318b6d1ba2916f5c66fb6
 DIST ltm-1.0.tar.xz 2191540 BLAKE2B 8794d81558f8e4236256c12201e03aad423b9e69ebd35fde941bd0e70174509a09973ad5cdf432c5c0cbf43f78693351782d9c2ea1085f2fa2a5bb77bafa89c5 SHA512 da2ced516106fb056373d97f9ac443805c57ebeb0a33982c14703d6dd8c3925e49aeb690b790ba91768ed5d41f5875dc50a3d3435dbb4088cfa3fddee9162082

diff --git a/dev-libs/libtommath/libtommath-1.0.1.ebuild b/dev-libs/libtommath/libtommath-1.0.1.ebuild
new file mode 100644
index 00000000000..d369a6bdc05
--- /dev/null
+++ b/dev-libs/libtommath/libtommath-1.0.1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools eutils multilib toolchain-funcs
+
+DESCRIPTION="Optimized and portable routines for integer theoretic applications"
+HOMEPAGE="http://www.libtom.net/"
+SRC_URI="https://github.com/libtom/libtommath/releases/download/v${PV}/ltm-${PV}.tar.xz"
+
+LICENSE="WTFPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="doc examples static-libs"
+
+DEPEND="sys-devel/libtool"
+
+src_prepare() {
+	default
+	# need libtool for cross compilation. Bug #376643
+	cat <<-EOF > configure.ac
+	AC_INIT(libtommath, 0)
+	AM_INIT_AUTOMAKE
+	LT_INIT
+	AC_CONFIG_FILES(Makefile)
+	AC_OUTPUT
+	EOF
+	touch NEWS README AUTHORS ChangeLog Makefile.am
+	eautoreconf
+	export LT="${S}"/libtool
+}
+
+src_configure() {
+	econf $(use_enable static-libs static)
+}
+
+_emake() {
+	emake \
+		CC="$(tc-getCC)" \
+		AR="$(tc-getAR)" \
+		RANLIB="$(tc-getRANLIB)" \
+		-f makefile.shared \
+		IGNORE_SPEED=1 \
+		LIBPATH="${EPREFIX}/usr/$(get_libdir)" \
+		INCPATH="${EPREFIX}/usr/include" \
+		"$@"
+}
+
+src_compile() {
+	_emake
+}
+
+src_test() {
+	_emake test_standalone
+	./test || die
+}
+
+src_install() {
+	_emake DESTDIR="${D}" install
+	# We only link against -lc, so drop the .la file.
+	find "${ED}" -name '*.la' -delete
+
+	dodoc changes.txt
+
+	use doc && dodoc *.pdf
+
+	if use examples ; then
+		docinto demo
+		dodoc demo/*.c
+	fi
+}


             reply	other threads:[~2017-12-15  8:12 UTC|newest]

Thread overview: 64+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-15  8:12 Jeroen Roovers [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-21 22:15 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libtommath/ Sam James
2025-02-23 14:21 Arthur Zamarin
2025-02-23  5:42 Sam James
2025-02-23  5:42 Sam James
2025-02-23  5:21 Sam James
2025-02-23  5:21 Sam James
2025-01-03 23:28 Sam James
2024-04-03  5:10 Sam James
2023-10-08 15:29 Arthur Zamarin
2023-10-08  6:44 Sam James
2023-10-08  5:39 Sam James
2023-10-08  5:39 Sam James
2023-10-08  5:33 Sam James
2023-10-08  5:33 Sam James
2023-10-08  5:33 Sam James
2023-10-08  5:33 Sam James
2023-09-09  5:03 Sam James
2022-11-16  5:57 WANG Xuerui
2021-10-28  1:00 Sam James
2021-10-28  0:47 Sam James
2021-09-10 20:16 Matt Turner
2021-08-28  8:50 Fabian Groffen
2021-07-28  0:19 Marek Szuba
2021-05-31 20:45 David Seifert
2021-03-23  4:53 Sam James
2021-01-30  5:24 Sam James
2021-01-30  5:24 Sam James
2021-01-06  0:02 Sam James
2020-12-20  6:29 Sam James
2020-09-05 15:23 Sam James
2020-08-19 14:33 Sam James
2020-08-18 13:28 Jeroen Roovers
2020-08-16 14:48 Agostino Sarubbo
2020-08-16 14:47 Agostino Sarubbo
2020-08-15  6:12 Sam James
2020-08-15  5:53 Sam James
2020-08-15  3:44 Sam James
2020-08-15  3:40 Sam James
2020-07-14 13:02 Sam James
2020-07-14 13:02 Sam James
2020-07-14 13:02 Sam James
2020-02-25 12:48 Mikle Kolyada
2020-02-25 12:48 Mikle Kolyada
2019-12-08  5:32 Matt Turner
2019-11-30 21:45 Sergei Trofimovich
2019-11-22 13:44 Matt Turner
2019-11-20 11:50 Agostino Sarubbo
2019-11-20 11:48 Agostino Sarubbo
2019-11-20 11:35 Agostino Sarubbo
2019-11-19 22:43 Aaron Bauman
2019-11-18 12:03 Agostino Sarubbo
2019-02-09 16:07 James Le Cuirot
2019-02-09 16:07 James Le Cuirot
2019-02-01 17:02 Lars Wendler
2019-02-01 17:02 Lars Wendler
2017-07-26 20:41 Sergei Trofimovich
2017-06-26 13:50 Patrick Lauer
2017-01-29 16:19 Fabian Groffen
2017-01-11  4:47 Benda XU
2016-03-05 16:25 Patrick Lauer
2016-03-05 16:25 Patrick Lauer
2016-03-03 18:59 Patrick Lauer
2016-02-28 21:04 Patrick Lauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1513325543.02beaf2561fa74a73ed17336905b720ca3234482.jer@gentoo \
    --to=jer@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox