blob: b7f45758da82c6907c6ccc05341d0162f44fd398 (
plain)
1 # Description: Brotli compression library
2 # URL: https://github.com/google/brotli
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Depends on: cmake
5
6 name=brotli
7 version=1.0.3
8 release=1
9 source=(https://github.com/google/$name/archive/v$version/$name-v$version.tar.gz)
10
11 build() {
12 cd $name-$version
13
14 install -d $SRC/build
15 cd $SRC/build
16
17 cmake $SRC/$name-$version \
18 -DCMAKE_INSTALL_PREFIX="/usr" \
19 -DCMAKE_INSTALL_LIBDIR="/usr/lib"
20
21 make
22 make DESTDIR=$PKG install
23 }
|