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

MAKEDEPS="cmake make "
DEPS="musl"

SOURCE=https://github.com/google/brotli
DESC="A generic-purpose lossless compression algorithm"

build () {
    mkdir out && cd out
    ../configure-cmake
    make 
}
check () {
    make test
}

package () {
    make DESTDIR=$PKG_DEST install
    mv $PKG_DEST/usr/local/* $PKG_DEST/usr/
}