dev-cpp/highwayhash - 20200922 (science)

Search

Install

Install this version:

emerge -a =dev-cpp/highwayhash-20200922

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-cpp/highwayhash-20200922

Or alternatively:

emerge --autounmask-write -a =dev-cpp/highwayhash-20200922

Package Information

Description:
Fast strong hash functions: SipHash/HighwayHash
Homepage:
https://github.com/google/highwayhash
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
20200922 7 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="Fast strong hash functions: SipHash/HighwayHash"
HOMEPAGE="https://github.com/google/highwayhash"
COMMIT="bdd572de8cfa3a1fbef6ba32307c2629db7c4773"
SRC_URI="https://github.com/google/highwayhash/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="static-libs"

src_prepare() {
	sed -i "/CXXFLAGS/s/-O3/${CXXFLAGS}/" Makefile || die
	default
}

src_install() {
	emake DESTDIR="${ED}"\
		INCDIR="/usr/include" \
		LIBDIR="/usr/$(get_libdir)" \
		install
	use static-libs || \
		rm "${ED}/usr/$(get_libdir)"/lib*.a || die
	einstalldocs
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-cpp/highwayhash | euse -E <flag> -p dev-cpp/highwayhash | euse -D <flag> -p dev-cpp/highwayhash

Global/Standard Flags

Manifest for 20200922

Type File Size Source URLs
DIST highwayhash-20200922.tar.gz 160264 bytes https://github.com/google/highwayhash/archive/bdd572de8cfa3a1fbef6ba32307c2629db7c4773.tar.gz