UmVirt LFS Package info
DB commit: 48bb9ee31306c82c48dfaaad707eb4f6a926eb8a
APP commit: 1ca4178aea919e4c9e869e3d650ff8af9678bd6f
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.2/packages/b/brotli-1.1.0.tar.gz
Package md5-checksum URL: https://umvirt.com/linux/downloads/0.2.2/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
Arch specific instructions
lib32_amd64
Dependances: *** NO DEPENDANCES FOUND ***
Configuration script:
mkdir build &&
cd build
CC='gcc -m32' \
PKG_CONFIG='i686-pc-linux-gnu-pkg-config' \
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_SHARED_LIBS=True \
-DCMAKE_C_FLAGS="$CFLAGS" \
-DCMAKE_INSTALL_LIBDIR=/usr/lib32 \
..
Build script:
cd build
make
Install script:
cd build
make DESTDIR=\$PWD/DESTDIR install
cp -Rv DESTDIR/usr/lib32/* /usr/lib32