#!/bin/sh

MAKEDEPS="cmake make "
DEPS="musl"

SOURCE=https://github.com/google/brotli.git
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
}