From 048cd530e67c4d1504113632c550f55f91c9c964 Mon Sep 17 00:00:00 2001 From: Rmys Date: Fri, 17 Nov 2023 10:44:58 +0300 Subject: [PATCH] xxhash-0.8.2 --- programming/library/xxhash/actions.py | 21 +++++++++++++++------ programming/library/xxhash/pspec.xml | 9 ++++++++- 2 files changed, 23 insertions(+), 7 deletions(-) diff --git a/programming/library/xxhash/actions.py b/programming/library/xxhash/actions.py index e8d564ea85..d29c1c9c0f 100644 --- a/programming/library/xxhash/actions.py +++ b/programming/library/xxhash/actions.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python # -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 3. @@ -6,14 +6,23 @@ from pisi.actionsapi import get from pisi.actionsapi import autotools -from pisi.actionsapi import pisitools +from pisi.actionsapi import pisitools, shelltools, cmaketools +def setup(): + shelltools.system("cmake -B build -S cmake_unofficial \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=/usr/lib") + def build(): - autotools.make() - + shelltools.cd("build") + cmaketools.make() def install(): - autotools.rawInstall("PREFIX=/usr DESTDIR=%s" % get.installDIR()) - pisitools.remove('/usr/lib/libxxhash.a') + shelltools.cd("build") + cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) + # pisitools.remove('/usr/lib/libxxhash.a') + + shelltools.cd("..") pisitools.dodoc("LICENSE", "doc/*") diff --git a/programming/library/xxhash/pspec.xml b/programming/library/xxhash/pspec.xml index a38bdb58da..b98dff3839 100644 --- a/programming/library/xxhash/pspec.xml +++ b/programming/library/xxhash/pspec.xml @@ -14,7 +14,7 @@ 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.8.1.tar.gz + https://github.com/Cyan4973/xxHash/archive/v0.8.2.tar.gz make @@ -44,6 +44,13 @@ + + 2023-11-17 + 0.8.2 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + 2021-11-30 0.8.1