wok-next diff woff2/receipt @ rev 21153
Small updates.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 31 16:45:41 2019 +0200 (2019-01-31) |
parents | |
children | 33293021c26d |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/woff2/receipt Thu Jan 31 16:45:41 2019 +0200 1.3 @@ -0,0 +1,33 @@ 1.4 +# SliTaz package receipt v2. 1.5 + 1.6 +PACKAGE="woff2" 1.7 +VERSION="1.0.2" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="Web Open Font Format 2 reference implementation" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="MIT" 1.12 +WEB_SITE="https://github.com/google/woff2" 1.13 + 1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 +WGET_URL="https://github.com/google/woff2/archive/v$VERSION.tar.gz" 1.16 +TARBALL_SHA1="bab4838b248026c968e171a5467b5176caf4e2e5" 1.17 + 1.18 +BUILD_DEPENDS="cmake ninja brotli-dev" 1.19 +SPLIT="$PACKAGE-dev" 1.20 + 1.21 +DEPENDS_std="brotli" 1.22 +DEPENDS_dev="$PACKAGE brotli-dev" 1.23 + 1.24 +compile_rules() { 1.25 + sed -i 's|NOT BUILD_SHARED_LIBS|TRUE|' CMakeLists.txt 1.26 + 1.27 + mkdir build 1.28 + cd build 1.29 + cmake \ 1.30 + -G Ninja \ 1.31 + -DCMAKE_INSTALL_PREFIX=/usr \ 1.32 + -DCMAKE_INSTALL_LIBDIR=/usr/lib \ 1.33 + .. && 1.34 + ninja && 1.35 + ninja install 1.36 +}