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

DEPS=(glibc gcc-libs zlib xz lz4)

SOURCE=https://github.com/facebook/zstd
DESC="the Zstandard real-time compression algorithm"

build () {
    make
    make -C contrib/pzstd
    make prefix=/usr check
    make DESTDIR=$PKG_DEST install
}

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