Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package-Manager: Portage-2.3.24, Repoman-2.3.6
- Loading branch information
Showing
3 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DIST highwayhash-20180209.tar.gz 152323 BLAKE2B 7151ba6e68ae5c9b32311b962364e77512f609c14bcf43d68f0c938c2ad6ffc5548eb2fb9bfc4b97fe096979a068d3b6342999ca33ea0d51c503a04300845b25 SHA512 00b64db0c27ddc25fe683f4032e21756326ac3fd95e27fa5033cdaf61d89cfec56b990581545e048c596d943ad4fb0efaf4158660ff0ded134e764b1f2db2bc8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Copyright 1999-2018 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=6 | ||
|
||
DESCRIPTION="Fast strong hash functions: SipHash/HighwayHash" | ||
HOMEPAGE="https://github.com/google/highwayhash" | ||
COMMIT="14dedecd1de87cb662f7a882ea1578d2384feb2f" | ||
SRC_URI="https://github.com/google/highwayhash/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" | ||
|
||
LICENSE="Apache-2.0" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~x86" | ||
IUSE="static-libs" | ||
|
||
DEPEND="" | ||
RDEPEND="${DEPEND}" | ||
|
||
S="${WORKDIR}/${PN}-${COMMIT}" | ||
|
||
src_prepare() { | ||
sed -i "/CXXFLAGS/s/-O3/${CXXFLAGS}/" Makefile || die | ||
default | ||
} | ||
|
||
src_install() { | ||
emake DESTDIR="${D}" INCDIR="${EPREFIX}/usr/include" LIBDIR="${EPREFIX}/usr/$(get_libdir)" install | ||
use static-libs || rm "${D}/${EPREFIX}/usr/$(get_libdir)"/lib*.a || die | ||
einstalldocs | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<maintainer type="person"> | ||
<email>junghans@gentoo.org</email> | ||
<name>Christoph Junghans</name> | ||
</maintainer> | ||
</pkgmetadata> |