public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Patrick Lauer" <patrick@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libtommath/
Date: Sun, 28 Feb 2016 21:04:20 +0000 (UTC)	[thread overview]
Message-ID: <1456693401.975fdb0e4a2cb60729540035e4e4731ab34eb7cc.patrick@gentoo> (raw)

commit:     975fdb0e4a2cb60729540035e4e4731ab34eb7cc
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 28 21:03:06 2016 +0000
Commit:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Sun Feb 28 21:03:21 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=975fdb0e

dev-libs/libtommath: Bump #575848

Package-Manager: portage-2.2.27

 dev-libs/libtommath/Manifest              |  1 +
 dev-libs/libtommath/libtommath-1.0.ebuild | 64 +++++++++++++++++++++++++++++++
 2 files changed, 65 insertions(+)

diff --git a/dev-libs/libtommath/Manifest b/dev-libs/libtommath/Manifest
index 741f088..f5c3d88 100644
--- a/dev-libs/libtommath/Manifest
+++ b/dev-libs/libtommath/Manifest
@@ -1 +1,2 @@
 DIST libtommath-0.42.0.tar.gz 1732144 SHA256 5246356ba18c1b6edf4a7bc836a3d223842b86914cdba6dd8c112bfc59e227c8 SHA512 d26e7737e5750530a7b96432502f0d458931e67af528872c46ad8dfc921b8f6ef4b3e05cb07d22bd13a8b24db65812928ae4c381250a4df95f6ca55efc3dae23 WHIRLPOOL beab5007a204042fd0a5b86ccc639ee37d82bb4afe2ceebcfe062deffaa259c8a699c81a52e804c2a79cb36914d805c81826a6e456523f729063240d1bfca9e6
+DIST libtommath-1.0.tar.gz 643248 SHA256 5a0d4f9a72dfbacb05cb5dbc545cffe58b08c103506de68b278dc76d05cfe010 SHA512 2744caa886d179a23a96b51dbf0c9090a7a4e923bb4b9c22d3e92fde73e11222861806018f565f3d5425d2ba31b9bb9e1dbf098bfc37d1fd26d33ceb81a8657e WHIRLPOOL 4830fb5a1802908652e4d4629cc205a55a267d60400041685f3c13fb03d2aff5b3e7f9a0b99e7813aaebf6cb41399c9a373de6296514215ac2fdfde90531d5ce

diff --git a/dev-libs/libtommath/libtommath-1.0.ebuild b/dev-libs/libtommath/libtommath-1.0.ebuild
new file mode 100644
index 0000000..544a4c6
--- /dev/null
+++ b/dev-libs/libtommath/libtommath-1.0.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools eutils multilib toolchain-funcs
+
+DESCRIPTION="highly optimized and portable routines for integer based number theoretic applications"
+HOMEPAGE="https://github.com/libtom/libtommath"
+SRC_URI="https://github.com/libtom/libtommath/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="WTFPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="doc examples static-libs"
+
+DEPEND="sys-devel/libtool"
+RDEPEND=""
+
+src_prepare() {
+	# 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)" -f makefile.shared \
+		IGNORE_SPEED=1 \
+		LIBPATH="${EPREFIX}/usr/$(get_libdir)" \
+		INCPATH="${EPREFIX}/usr/include" \
+		"$@"
+}
+
+src_compile() {
+	_emake
+}
+
+src_install() {
+	_emake DESTDIR="${ED}" 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:[~2016-02-28 21:04 UTC|newest]

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

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=1456693401.975fdb0e4a2cb60729540035e4e4731ab34eb7cc.patrick@gentoo \
    --to=patrick@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