summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuilherme Amadio <amadio@gentoo.org>2018-07-24 20:09:10 +0200
committerGuilherme Amadio <amadio@gentoo.org>2018-07-24 20:09:46 +0200
commit54adba86297f29f535ebcc02fc4a5159fcae5c01 (patch)
treec59e91d403b764f41b2e88a76bbc34106072aa29 /dev-libs/xxhash/xxhash-0.6.5.ebuild
parentdev-ruby/i18n: amd64 stable (diff)
downloadgentoo-54adba86297f29f535ebcc02fc4a5159fcae5c01.tar.gz
gentoo-54adba86297f29f535ebcc02fc4a5159fcae5c01.tar.bz2
gentoo-54adba86297f29f535ebcc02fc4a5159fcae5c01.zip
dev-libs/xxhash: version bump to 0.6.5
Closes: https://bugs.gentoo.org/661658 Package-Manager: Portage-2.3.43, Repoman-2.3.10
Diffstat (limited to 'dev-libs/xxhash/xxhash-0.6.5.ebuild')
-rw-r--r--dev-libs/xxhash/xxhash-0.6.5.ebuild24
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-libs/xxhash/xxhash-0.6.5.ebuild b/dev-libs/xxhash/xxhash-0.6.5.ebuild
new file mode 100644
index 00000000000..e21fdc1aa0d
--- /dev/null
+++ b/dev-libs/xxhash/xxhash-0.6.5.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Extremely fast non-cryptographic hash algorithm"
+HOMEPAGE="http://www.xxhash.com"
+SRC_URI="https://github.com/Cyan4973/xxHash/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2 GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="static-libs"
+
+DEPEND=""
+
+S="${WORKDIR}/xxHash-${PV}"
+
+src_install() {
+ PREFIX="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)" emake DESTDIR="${D}" install
+ if ! use static-libs ; then
+ rm "${ED}"/usr/$(get_libdir)/libxxhash.a || die
+ fi
+}