From 407525b571b48cfd65e1ad7a02d250a927c967c9 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 1 Dec 2017 03:04:39 +0000 Subject: gentoo resync : 01.12.2017 --- app-crypt/libb2/Manifest | 3 +++ app-crypt/libb2/libb2-0.98.ebuild | 44 +++++++++++++++++++++++++++++++++++++++ app-crypt/libb2/metadata.xml | 21 +++++++++++++++++++ 3 files changed, 68 insertions(+) create mode 100644 app-crypt/libb2/Manifest create mode 100644 app-crypt/libb2/libb2-0.98.ebuild create mode 100644 app-crypt/libb2/metadata.xml (limited to 'app-crypt/libb2') diff --git a/app-crypt/libb2/Manifest b/app-crypt/libb2/Manifest new file mode 100644 index 000000000000..42b1886fcf1c --- /dev/null +++ b/app-crypt/libb2/Manifest @@ -0,0 +1,3 @@ +DIST libb2-0.98.tar.gz 275076 BLAKE2B 7c0aa473a58a5ceb6e913487cc6f0078e6cab661bd26cb1f5611473b430213521a23adbde227da6d7561b4d581369e268308ae6b2a10da5399c0d2d6ab288b26 SHA512 be400d16ab00b3006ec7412dcbf580427600f4997cee19c0448d849ff8bbbb58bbb7be3d49e4052cb1b6791b6bed9c9cc48b51da3ec77b2fdf3d197ccf0c8073 +EBUILD libb2-0.98.ebuild 944 BLAKE2B 4f1b7db4d8acc9cf6ae5b0c21d49bdf5b089e46dc9bb57466efcce895dbc309a74342844f108588f28a85c8164529843444dbf1fec3512f6130f4747ebad0220 SHA512 5c8cb72ea9f10059fdef2465d8ec4b14b63fb0e1b82f9c9069eef91c7fb3eebbe2a88226013b2486ac543ac5a315087cafc7cd927131dae3dce83c22c794fbf2 +MISC metadata.xml 688 BLAKE2B dafb52bda4cb5c27bbbb4cba85c178ce11e9511f0dedfed4ff3afe40789a28e4a8c9c275a1be7e86568419c29011c1a4ae5c67f7b778ece3c750d8a919d5d930 SHA512 a98e96312724a3af5d104e4adbb9f60cac16124c9beac2622045985c1b0c2276ff1d56561d59cfb5a24b57d29577312c7e73bdfe73bbe735c1c320b699065b11 diff --git a/app-crypt/libb2/libb2-0.98.ebuild b/app-crypt/libb2/libb2-0.98.ebuild new file mode 100644 index 000000000000..b42921bc69d2 --- /dev/null +++ b/app-crypt/libb2/libb2-0.98.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools ltprune + +DESCRIPTION="C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp" +HOMEPAGE="https://github.com/BLAKE2/libb2" +GITHASH="0d7015f6a640a63bc6c68562328e112445ea9d5c" +SRC_URI="https://github.com/BLAKE2/libb2/archive/${GITHASH}.tar.gz -> ${P}.tar.gz" + +LICENSE="CC0-1.0" +SLOT="0" +KEYWORDS="~amd64 ~ppc64" +IUSE="static native-cflags" + +DEPEND="" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${PN}-${GITHASH} + +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) +} + +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 +} diff --git a/app-crypt/libb2/metadata.xml b/app-crypt/libb2/metadata.xml new file mode 100644 index 000000000000..76fd7590acbb --- /dev/null +++ b/app-crypt/libb2/metadata.xml @@ -0,0 +1,21 @@ + + + + + grobian@gentoo.org + Fabian Groffen + + + C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp + + Official implementations from BLAKE2 project. + + + + Use CFLAGS as determined by configure script. These flags will + enable all CPU specific features it find available, to further + optimise the implementation. This discards any existing CFLAGS + set in make.conf or similar. + + + -- cgit v1.2.3