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

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
}