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

DEPS=(glibc gcc-libs zlib xz lz4)

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

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

package () {
    mv $PKG_DEST/usr/local/* $PKG_DEST/usr/
}