Magellan Linux

Contents of /trunk/core/zstd/zstd-1.5.5-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 33321 - (show annotations) (download)
Tue Jul 11 12:07:23 2023 UTC (10 months, 2 weeks ago) by niro
File size: 818 byte(s)
-ver bump to 1.5.5
1 # $Id$
2
3 PNAME="zstd"
4 PVER="1.5.5"
5 PBUILD="r1"
6
7 PCAT="app-arch"
8
9 DESCRIPTION="Zstandard - Fast real-time compression algorithm."
10 HOMEPAGE="https://facebook.github.io/zstd/"
11
12 DEPEND=">= virtual/glibc
13 >= sys-libs/zlib-1.2.13
14 >= app-arch/xz-utils-5.4"
15 # todo lz4 and cmake build
16
17 SRCFILE="${PNAME}-${PVER}.tar.gz"
18 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
19
20 sminclude mbuild multilib
21
22 SRC_URI=(
23 https://github.com/facebook/${PNAME}/releases/download/v${PVER}/${SRCFILE}
24 mirror://${PNAME}/${SRCFILE}
25 )
26
27 UP2SEPERATOR="v"
28 UP2DATE="updatecmd https://github.com/facebook/${PNAME}/releases | highesttarball gz"
29
30 src_compile()
31 {
32 mmake prefix=/usr libdir=/usr/'$(mlibdir)' || die
33 }
34
35 src_install()
36 {
37 mmake DESTDIR=${BINDIR} prefix=/usr libdir=/usr/'$(mlibdir)' install || die
38 minstalldocs CHANGELOG CO* LICENSE README* || die
39 }