Magellan Linux

Contents of /trunk/core/xxhash/xxhash-0.8.2-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 33499 - (show annotations) (download)
Wed Jul 26 09:02:16 2023 UTC (9 months, 2 weeks ago) by niro
File size: 823 byte(s)
-ver bump to 0.8.2-r1
1 # $Id$
2
3 PNAME="xxhash"
4 PVER="0.8.2"
5 PBUILD="r1"
6
7 PCAT="dev-libs"
8
9 DESCRIPTION="Extremely fast non-cryptographic hash algorithm."
10 HOMEPAGE="https://cyan4973.github.io/xxHash/"
11
12 DEPEND=">= virtual/glibc"
13
14 SRCFILE="v${PVER}.tar.gz"
15 SRCDIR="${BUILDDIR}/xxHash-${PVER}"
16
17 sminclude multilib mbuild
18
19 SRC_URI=(
20 https://github.com/Cyan4973/xxHash/archive/refs/tags/${SRCFILE}
21 mirror://${PNAME}/${SRCFILE}
22 )
23
24 UP2SEPERATOR="v"
25 UP2DATE="updatecmd https://github.com/Cyan4973/xxHash/releases/ | highesttarball gz"
26
27 src_compile()
28 {
29 # DISPATCH=1 -> provide xxh_x86dispatch.h
30 mmake PREFIX=/usr LIBDIR=/usr/'$(mlibdir)' BINDIR=/usr/bin DISPATCH=1 || die
31 }
32
33 src_install()
34 {
35 mmake DESTDIR=${BINDIR} PREFIX=/usr LIBDIR=/usr/'$(mlibdir)' BINDIR=/usr/bin DISPATCH=1 install || die
36 minstalldocs CHANGELOG LICENSE README* SECURITY* || die
37 }