aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <junghans@gentoo.org>2018-05-17 10:58:33 -0600
committerChristoph Junghans <junghans@gentoo.org>2018-05-17 10:58:33 -0600
commit77c7d6cd487816b060bc3871090cc5bc276fa902 (patch)
tree4711dcee110f93d8d2974d75696e8c9e57903f45
parentsci-libs/dealii: update Manifest (again) (diff)
downloadsci-77c7d6cd487816b060bc3871090cc5bc276fa902.zip
sci-77c7d6cd487816b060bc3871090cc5bc276fa902.tar.gz
sci-77c7d6cd487816b060bc3871090cc5bc276fa902.tar.bz2
dev-cpp/highwayhash: initial commit
Package-Manager: Portage-2.3.24, Repoman-2.3.6
-rw-r--r--dev-cpp/highwayhash/Manifest1
-rw-r--r--dev-cpp/highwayhash/highwayhash-20180209.ebuild30
-rw-r--r--dev-cpp/highwayhash/metadata.xml8
3 files changed, 39 insertions, 0 deletions
diff --git a/dev-cpp/highwayhash/Manifest b/dev-cpp/highwayhash/Manifest
new file mode 100644
index 0000000..40ba9bd
--- /dev/null
+++ b/dev-cpp/highwayhash/Manifest
@@ -0,0 +1 @@
+DIST highwayhash-20180209.tar.gz 152323 BLAKE2B 7151ba6e68ae5c9b32311b962364e77512f609c14bcf43d68f0c938c2ad6ffc5548eb2fb9bfc4b97fe096979a068d3b6342999ca33ea0d51c503a04300845b25 SHA512 00b64db0c27ddc25fe683f4032e21756326ac3fd95e27fa5033cdaf61d89cfec56b990581545e048c596d943ad4fb0efaf4158660ff0ded134e764b1f2db2bc8
diff --git a/dev-cpp/highwayhash/highwayhash-20180209.ebuild b/dev-cpp/highwayhash/highwayhash-20180209.ebuild
new file mode 100644
index 0000000..2fd3f13
--- /dev/null
+++ b/dev-cpp/highwayhash/highwayhash-20180209.ebuild
@@ -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
+}
diff --git a/dev-cpp/highwayhash/metadata.xml b/dev-cpp/highwayhash/metadata.xml
new file mode 100644
index 0000000..ef6b5dc
--- /dev/null
+++ b/dev-cpp/highwayhash/metadata.xml
@@ -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>