xxhash-0.8.2

This commit is contained in:
Rmys
2023-11-17 10:44:58 +03:00
committed by GitHub
parent c61c5b5950
commit 048cd530e6
2 changed files with 23 additions and 7 deletions
+15 -6
View File
@@ -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/*")
+8 -1
View File
@@ -14,7 +14,7 @@
<IsA>library</IsA>
<Summary>Extremely fast hash algorithm</Summary>
<Description>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).</Description>
<Archive sha1sum="a92c9a9cfbef23e52f2d1b581cb9926c680d261d" type="targz">https://github.com/Cyan4973/xxHash/archive/v0.8.1.tar.gz</Archive>
<Archive sha1sum="8df702581ebc48a5e05be0f1ede6e1e9139e4da1" type="targz">https://github.com/Cyan4973/xxHash/archive/v0.8.2.tar.gz</Archive>
<BuildDependencies>
<Dependency>make</Dependency>
</BuildDependencies>
@@ -44,6 +44,13 @@
</Package>
<History>
<Update release="4">
<Date>2023-11-17</Date>
<Version>0.8.2</Version>
<Comment>Version bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="3">
<Date>2021-11-30</Date>
<Version>0.8.1</Version>