diff options
Diffstat (limited to 'repo/brotli/brotli.xibuild')
-rw-r--r-- | repo/brotli/brotli.xibuild | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/repo/brotli/brotli.xibuild b/repo/brotli/brotli.xibuild new file mode 100644 index 0000000..d45bb4b --- /dev/null +++ b/repo/brotli/brotli.xibuild @@ -0,0 +1,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 +} |