smlinux/base/brotli/brotli.SMBuild
PktSurf a6bc50adc7 Added elfutils and fuse to base
Removed build options that placed elf binaries in /bin
Removed executable bit from some build files
2024-10-29 15:25:51 +05:30

36 lines
790 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=brotli
version=1.0.7
build=1sml
homepage="https://github.com/google/brotli"
download="https://github.com/google/brotli/archive/refs/tags/v$version.tar.gz"
requires="musl"
desc="Lossless compression algorithm based on LZ77, Huffman coding and 2nd order context modeling"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
./bootstrap
}
build() {
./configure \
--prefix=/usr \
--disable-static
make
make install DESTDIR=$pkg
cp LICENSE $pkgdocs/
mkfinalpkg
}
sha512sums="
74c138ff3cd31185daed65666afb163279d2766d367bff9f3133252467772e47450b4b5dee9476d2cad4198d8e613739673de54648252b9d5e0887be5d87ca5d brotli-1.0.7.tar.lz
"