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

MAKEDEPS="cmake make "
DEPS="musl"

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

prepare () {
    sed -i 's,/usr/bin/env bash,/bin/sh,' tests/*.sh
	sh ./bootstrap
}

build () {
    ./configure \
		--prefix=/usr \
        --disable-static
    make 
}
check () {
    make check
}

package () {
    make DESTDIR=$PKG_DEST install
}