From 79062a39e9bcb9731adbacd0bd9bcd0b59d19d0a Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 22 May 2022 17:47:09 +0100 Subject: fixes to allow for full build --- repo/system/brotli/brotli.xibuild | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'repo/system/brotli/brotli.xibuild') 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/ } -- cgit v1.2.1