diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-crypt/libb2 | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-crypt/libb2')
-rw-r--r-- | app-crypt/libb2/Manifest | 3 | ||||
-rw-r--r-- | app-crypt/libb2/libb2-0.98.ebuild | 44 | ||||
-rw-r--r-- | app-crypt/libb2/metadata.xml | 21 |
3 files changed, 68 insertions, 0 deletions
diff --git a/app-crypt/libb2/Manifest b/app-crypt/libb2/Manifest new file mode 100644 index 000000000000..a642089516dc --- /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 983 BLAKE2B ef56ce606348776f1bf24a3e275c95ae40e0569e46dad425c5e47b30b6df4ea512477f41bf117b4e4b0562d4ffbbc2de9ef2d9e4e6b897bc25859ee5f6c63816 SHA512 8e69f8cee42a75680d4aa616127482c36f986cf32f5c2612e0c1af7418b8b62cbd0cb73163ba93190b9359389a13eb31fd75528110391318dc3d14d0d78447a4 +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..3ca37501441b --- /dev/null +++ b/app-crypt/libb2/libb2-0.98.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2018 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 ~x64-macos ~sparc-solaris ~x64-solaris" +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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>grobian@gentoo.org</email> + <name>Fabian Groffen</name> + </maintainer> + <longdescription lang="en"> + C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp + + Official implementations from BLAKE2 project. + </longdescription> + <use> + <flag name="native-cflags"> + 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. + </flag> + </use> +</pkgmetadata> |