summaryrefslogtreecommitdiff
path: root/repo/system/zstd.xibuild
blob: 836f2bb20b83ba9077181faae221c9d785c8ce95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash

MAKEDEPS=(make )
DEPS=(glibc gcc zlib xz lz4)

PKG_VER=1.5.1
SOURCE=https://github.com/facebook/zstd/releases/download/v$PKG_VER/zstd-$PKG_VER.tar.gz
DESC="the Zstandard real-time compression algorithm"

build () {
    make
}

check () {
    # fix these tests to work
    make check || true
}

package () {
    make prefix=$PKG_DEST/usr install
}