public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Fabian Groffen" <grobian@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/libb2/
Date: Fri, 17 May 2019 20:49:30 +0000 (UTC)	[thread overview]
Message-ID: <1558126164.fb8f20ad48b08e666e62fb4c7f5835d568f2f23c.grobian@gentoo> (raw)

commit:     fb8f20ad48b08e666e62fb4c7f5835d568f2f23c
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Fri May 17 20:48:56 2019 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Fri May 17 20:49:24 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb8f20ad

app-crypt/libb2: version bump

Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 app-crypt/libb2/Manifest            |  1 +
 app-crypt/libb2/libb2-0.98.1.ebuild | 56 +++++++++++++++++++++++++++++++++++++
 2 files changed, 57 insertions(+)

diff --git a/app-crypt/libb2/Manifest b/app-crypt/libb2/Manifest
index 44054d6b967..6d30097c471 100644
--- a/app-crypt/libb2/Manifest
+++ b/app-crypt/libb2/Manifest
@@ -1 +1,2 @@
+DIST libb2-0.98.1.tar.gz 280826 BLAKE2B aa8c3dee3032f457410479be12d00c79a6ca6a7c0376a5c70265d30ff25b50663171f7096141834d4faa4dd5027f38b23b774e59be63475a3ecba855337fb1aa SHA512 a666fdbd1efa9cfff3028e953c62f21ba092c6733ccd12d4d04f1f836fc9747fc90053bc9166510d251d332b91e133853d2cc9b61c279517bd65b05e8483250b
 DIST libb2-0.98.tar.gz 275076 BLAKE2B 7c0aa473a58a5ceb6e913487cc6f0078e6cab661bd26cb1f5611473b430213521a23adbde227da6d7561b4d581369e268308ae6b2a10da5399c0d2d6ab288b26 SHA512 be400d16ab00b3006ec7412dcbf580427600f4997cee19c0448d849ff8bbbb58bbb7be3d49e4052cb1b6791b6bed9c9cc48b51da3ec77b2fdf3d197ccf0c8073

diff --git a/app-crypt/libb2/libb2-0.98.1.ebuild b/app-crypt/libb2/libb2-0.98.1.ebuild
new file mode 100644
index 00000000000..2664bc570e7
--- /dev/null
+++ b/app-crypt/libb2/libb2-0.98.1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools ltprune toolchain-funcs
+
+DESCRIPTION="C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp"
+HOMEPAGE="https://github.com/BLAKE2/libb2"
+GITHASH="73d41c8255a991ed2adea41c108b388d9d14b449"
+SRC_URI="https://github.com/BLAKE2/libb2/archive/${GITHASH}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="CC0-1.0"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x64-macos ~sparc-solaris ~x64-solaris"
+IUSE="static +native-cflags openmp"
+
+DEPEND="
+	openmp? (
+		|| ( >=sys-devel/gcc-4.2:*[openmp] sys-devel/clang-runtime:*[openmp] )
+	)
+"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${PN}-${GITHASH}
+
+pkg_setup() {
+	if [[ ${MERGE_TYPE} != "binary" ]] && use openmp && ! tc-has-openmp; then
+		ewarn "You are using a compiler without OpenMP support"
+		die "Need an OpenMP capable compiler"
+	fi
+}
+
+src_prepare() {
+	default
+	# fix bashism
+	sed -i -e 's/ == / = /' configure.ac || die
+	eautoreconf  # upstream doesn't make releases
+}
+
+src_configure() {
+	econf \
+		$(use_enable static) \
+		$(use_enable native-cflags native) \
+		$(use_enable openmp)
+}
+
+src_compile() {
+	# respect our CFLAGS when native-cflags is not in effect
+	emake $(use native-cflags && echo no)CFLAGS="${CFLAGS}"
+}
+
+src_install() {
+	default
+	prune_libtool_files
+}


             reply	other threads:[~2019-05-17 20:49 UTC|newest]

Thread overview: 62+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-17 20:49 Fabian Groffen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-25  9:17 [gentoo-commits] repo/gentoo:master commit in: app-crypt/libb2/ Fabian Groffen
2023-09-09 13:17 David Seifert
2023-05-29 20:18 Sam James
2023-05-28 19:06 Arthur Zamarin
2023-05-27 11:08 Arthur Zamarin
2023-05-27 10:30 Sam James
2023-05-26 20:06 Arthur Zamarin
2023-05-26  7:15 Sam James
2023-05-25 22:30 Sam James
2023-05-25 22:04 Sam James
2022-05-14 21:30 David Seifert
2021-01-06 12:55 Fabian Groffen
2020-01-12 14:34 Fabian Groffen
2019-11-22  9:37 Mikle Kolyada
2019-11-22  9:37 Mikle Kolyada
2019-11-22  9:37 Mikle Kolyada
2019-11-14 11:55 Agostino Sarubbo
2019-11-12 15:08 Agostino Sarubbo
2019-11-12  7:25 Sergei Trofimovich
2019-11-08  8:35 Mikle Kolyada
2019-11-06 20:11 Sergei Trofimovich
2019-11-05  9:27 Agostino Sarubbo
2019-11-05  8:24 Agostino Sarubbo
2019-11-05  0:54 Aaron Bauman
2019-10-27 17:11 Michał Górny
2019-09-26 20:09 Mikle Kolyada
2019-09-26 20:09 Mikle Kolyada
2019-09-26 20:09 Mikle Kolyada
2019-09-26 20:09 Mikle Kolyada
2019-09-21  5:20 Matt Turner
2019-09-17  9:16 Jeroen Roovers
2019-09-17  1:13 Aaron Bauman
2019-09-16 22:03 Sergei Trofimovich
2019-09-16 22:02 Sergei Trofimovich
2019-09-16 22:00 Sergei Trofimovich
2019-09-16  7:56 Agostino Sarubbo
2019-09-16  7:55 Agostino Sarubbo
2019-09-15  9:36 Mikle Kolyada
2019-07-29  8:57 Mikle Kolyada
2019-07-29  8:57 Mikle Kolyada
2019-07-22 17:26 Aaron Bauman
2019-06-15  9:26 Sergei Trofimovich
2019-06-11 20:32 Göktürk Yüksek
2019-06-11 17:32 Ben Kohler
2019-06-10 19:50 Thomas Deutschmann
2019-06-09 19:22 Sergei Trofimovich
2019-06-08  0:26 Matt Turner
2019-06-06 19:03 Fabian Groffen
2019-06-06 16:34 Fabian Groffen
2019-06-06  8:49 Michael Haubenwallner
2019-06-05 14:20 Michael Haubenwallner
2019-06-05  9:31 Fabian Groffen
2019-06-05  8:39 Fabian Groffen
2019-06-05  8:37 Fabian Groffen
2019-06-05  8:37 Fabian Groffen
2019-06-05  8:35 Michael Haubenwallner
2019-06-05  8:03 Jeroen Roovers
2018-02-28 20:30 Fabian Groffen
2018-02-28 18:59 Fabian Groffen
2017-11-27 13:55 Fabian Groffen
2017-11-27 12:02 Fabian Groffen

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=1558126164.fb8f20ad48b08e666e62fb4c7f5835d568f2f23c.grobian@gentoo \
    --to=grobian@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