From bc0dee085ae9932fa282116231b9d102bfd798eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Safa=20Ar=C4=B1man?= Date: Sat, 21 Mar 2020 00:13:45 +0300 Subject: [PATCH] Add xxhash package --- programming/library/xxhash/actions.py | 19 ++++++++ programming/library/xxhash/pspec.xml | 52 +++++++++++++++++++++ programming/library/xxhash/translations.xml | 8 ++++ 3 files changed, 79 insertions(+) create mode 100644 programming/library/xxhash/actions.py create mode 100644 programming/library/xxhash/pspec.xml create mode 100644 programming/library/xxhash/translations.xml diff --git a/programming/library/xxhash/actions.py b/programming/library/xxhash/actions.py new file mode 100644 index 0000000000..b7ab7f003a --- /dev/null +++ b/programming/library/xxhash/actions.py @@ -0,0 +1,19 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + + +def build(): + autotools.make() + + +def install(): + autotools.install() + pisitools.remove('/usr/lib/libxxhash.a') + pisitools.dodoc('LICENSE') diff --git a/programming/library/xxhash/pspec.xml b/programming/library/xxhash/pspec.xml new file mode 100644 index 0000000000..bb077dd3e3 --- /dev/null +++ b/programming/library/xxhash/pspec.xml @@ -0,0 +1,52 @@ + + + + + xxhash + https://cyan4973.github.io/xxHash/ + + Safa Arıman + safa@ariman.gen.tr + + BSD + GPLv2 + library + Extremely fast hash algorithm + xxHash is an Extremely fast Hash algorithm, running at RAM speed limits. It successfully completes the SMHasher test suite which evaluates collision, dispersion and randomness qualities of hash functions. Code is highly portable, and hashes are identical on all platforms (little / big endian). + https://github.com/Cyan4973/xxHash/archive/v0.7.3.tar.gz + + make + + + + + xxhash + + /usr/bin + /usr/lib + /usr/share/man + /usr/share/doc + + + + + xxhash-devel + Development files for xxhash + + xxhash + + + /usr/include + + + + + + 2020-03-19 + 0.7.3 + First release + Safa Arıman + safa@ariman.gen.tr + + + diff --git a/programming/library/xxhash/translations.xml b/programming/library/xxhash/translations.xml new file mode 100644 index 0000000000..83d234b147 --- /dev/null +++ b/programming/library/xxhash/translations.xml @@ -0,0 +1,8 @@ + + + + xxhash + Extremely fast hash algorithm + xxHash is an Extremely fast Hash algorithm, running at RAM speed limits. It successfully completes the SMHasher test suite which evaluates collision, dispersion and randomness qualities of hash functions. Code is highly portable, and hashes are identical on all platforms (little / big endian). + +