summaryrefslogtreecommitdiff
path: root/repo/system/brotli
diff options
context:
space:
mode:
Diffstat (limited to 'repo/system/brotli')
-rw-r--r--repo/system/brotli/brotli.xibuild13
1 files changed, 9 insertions, 4 deletions
diff --git a/repo/system/brotli/brotli.xibuild b/repo/system/brotli/brotli.xibuild
index dbdd973..d45bb4b 100644
--- a/repo/system/brotli/brotli.xibuild
+++ b/repo/system/brotli/brotli.xibuild
@@ -6,16 +6,21 @@ 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 () {
- mkdir out && cd out
- ../configure-cmake
+ ./configure \
+ --prefix=/usr \
+ --disable-static
make
}
check () {
- make test
+ make check
}
package () {
make DESTDIR=$PKG_DEST install
- mv $PKG_DEST/usr/local/* $PKG_DEST/usr/
}