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

MAKEDEPS=(make )
DEPS=(sh)

PKG_VER=1.9.3
SOURCE=https://github.com/lz4/lz4/archive/refs/tags/v$PKG_VER.tar.gz
DESC="A lossless compression algorithm, providing high compression speeds"


build () {
    make -C lib PREFIX=/usr
    make -C programs PREFIX=/usr lz4 lz4c
}

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