UmVirt LFS Package info

DB commit: 06a3bafc31a9f2da2aecdf7c1c6e8b91885cb553
APP commit: 634ff2193dea70dde75eb1916d758638b7417453

brotli

Brotli provides a general-purpose lossless compression algorithm that compresses data using a combination of a modern variant of the LZ77 algorithm, Huffman coding and 2nd order context modeling. Its libraries are particularly used for WOFF2 fonts on webpages.

Package info

Codename: brotli
Source file: brotli-1.1.0.tar.gz
Source directory: brotli-1.1.0
Package URL: https://umvirt.com/linux/downloads/0.2.1/packages/b/brotli-1.1.0.tar.gz
Package md5-checksum URL: https://umvirt.com/linux/downloads/0.2.1/packages/b/brotli-1.1.0.tar.gz.md5sum
Dependances: cmake.
Dependance of: freetype-stage3, exiv2, wireshark.
Patches: *** NO PATCHES FOUND ***
Addons: *** NO ADDONS FOUND ***
Nestings *** NO NESTINGS FOUND ***
Configuration script:
mkdir build &&
cd    build &&

cmake -DCMAKE_INSTALL_PREFIX=/usr \
      -DCMAKE_BUILD_TYPE=Release  \
      ..

Build script:
cd build &&
make

if [[ "$ULFS_PKG_TEST" == "YES" ]]
then
	    make test
fi


cd .. &&
sed "/c\/.*\.[ch]'/d;\
     /include_dirs=\[/\
     i libraries=['brotlicommon','brotlidec','brotlienc']," \
    -i setup.py &&
pip3 wheel -w dist --no-build-isolation --no-deps --no-cache-dir $PWD

Install script:
cd build &&
make install

cd ..
pip3 install --no-index --find-links=dist --no-cache-dir --no-user Brotli