UmVirt LFS Package info

DB commit: 34a83c7a68a930f721bd7a7f9cb2c2ac41e76ba8
APP commit: 0bd167a48557b5a14ac68d0229893245aacc7f12
[ BASH | XML | JSON ]

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

Template:
Codename: brotli
Source file: brotli-1.1.0.tar.gz
Source directory: brotli-1.1.0
Package URL: brotli-1.1.0.tar.gz
Package md5-checksum URL: brotli-1.1.0.tar.gz.md5sum
Dependances: cmake.
Dependance of: nodejs, freetype-stage3, chawan, exiv2, libjxl, 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



Install script:
cd build &&
make install

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

pip3 install --no-index --find-links dist --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