diff options
author | Guilherme Amadio <amadio@gentoo.org> | 2021-12-06 15:07:45 +0100 |
---|---|---|
committer | Guilherme Amadio <amadio@gentoo.org> | 2021-12-14 11:02:48 +0100 |
commit | b0b3d5c8ac93371dca5d01f4e621315bd7b0f832 (patch) | |
tree | 950e4c052a5f8613fcd5d8ba4224b073c109f1c2 /dev-libs/xxhash | |
parent | net-fs/cvmfs: version bump to 2.9.0 (diff) | |
download | gentoo-b0b3d5c8ac93371dca5d01f4e621315bd7b0f832.tar.gz gentoo-b0b3d5c8ac93371dca5d01f4e621315bd7b0f832.tar.bz2 gentoo-b0b3d5c8ac93371dca5d01f4e621315bd7b0f832.zip |
dev-libs/xxhash: version bump to 0.8.1
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
Diffstat (limited to 'dev-libs/xxhash')
-rw-r--r-- | dev-libs/xxhash/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/xxhash/xxhash-0.8.1.ebuild | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-libs/xxhash/Manifest b/dev-libs/xxhash/Manifest index 7ac5ae1d10f2..1bc0dddf9299 100644 --- a/dev-libs/xxhash/Manifest +++ b/dev-libs/xxhash/Manifest @@ -1,2 +1,3 @@ DIST xxhash-0.7.3.tar.gz 126405 BLAKE2B 1304251c36a839f5d1b935c0633016222d6b517932d05b84d10ae8a3ee3fccd6cfd31d8e3768f033ca8adcbf2bb9728ffd6c4ccd7a9878ef59d289b49a497656 SHA512 72949010a267f063768241b182464c386005b4078f56902fee2f7804bd01f6c27878a6a4ec2a266cd59162934a7e471264ac5757dba570a97a2b5dad7703c664 DIST xxhash-0.8.0.tar.gz 145909 BLAKE2B 3e4e715d20ad09da2fe706a69e89a305d9f4d19588a28361f519d424c002345ba76b48d5adc0b600e34e595fed20a1ce8b8c5f22457cb05c4233810e9af9b823 SHA512 c3973b3c98bad44e1d8687ab4f9461aecd1c071bb3d320537a4c50fb7301edd13e990bab48cc6e5ca30536a814c8fa8cac24ceb1803a7e8eca30ef73d449373e +DIST xxhash-0.8.1.tar.gz 171552 BLAKE2B c0efc1aabf68130d7028a6e43fb04826de4ec485bfb5e915bd9dad823149b970f964784e14c35babd46b9811b961ce3d0be49feb1640e00780decf037427f5fc SHA512 12feedd6a1859ef55e27218dbd6dcceccbb5a4da34cd80240d2f7d44cd246c7afdeb59830c2d5b90189bb5159293532208bf5bb622250102e12d6e1bad14a193 diff --git a/dev-libs/xxhash/xxhash-0.8.1.ebuild b/dev-libs/xxhash/xxhash-0.8.1.ebuild new file mode 100644 index 000000000000..0d0d22652379 --- /dev/null +++ b/dev-libs/xxhash/xxhash-0.8.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="Extremely fast non-cryptographic hash algorithm" +HOMEPAGE="http://www.xxhash.net" +SRC_URI="https://github.com/Cyan4973/xxHash/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2 GPL-2+" +# https://abi-laboratory.pro/tracker/timeline/xxhash +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="static-libs" + +S="${WORKDIR}/xxHash-${PV}" + +src_compile() { + PREFIX="${EPREFIX}/usr" \ + LIBDIR="${EPREFIX}/usr/$(get_libdir)" \ + emake AR="$(tc-getAR)" CC="$(tc-getCC)" +} + +src_install() { + PREFIX="${EPREFIX}/usr" \ + LIBDIR="${EPREFIX}/usr/$(get_libdir)" \ + MANDIR="${EPREFIX}/usr/share/man/man1" \ + emake DESTDIR="${D}" install + + if ! use static-libs ; then + rm "${ED}"/usr/$(get_libdir)/libxxhash.a || die + fi +} |