wok-next annotate 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 |
rev | line source |
---|---|
al@21153 | 1 # SliTaz package receipt v2. |
al@21153 | 2 |
al@21153 | 3 PACKAGE="woff2" |
al@21153 | 4 VERSION="1.0.2" |
al@21153 | 5 CATEGORY="system-tools" |
al@21153 | 6 SHORT_DESC="Web Open Font Format 2 reference implementation" |
al@21153 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@21153 | 8 LICENSE="MIT" |
al@21153 | 9 WEB_SITE="https://github.com/google/woff2" |
al@21153 | 10 |
al@21153 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@21153 | 12 WGET_URL="https://github.com/google/woff2/archive/v$VERSION.tar.gz" |
al@21153 | 13 TARBALL_SHA1="bab4838b248026c968e171a5467b5176caf4e2e5" |
al@21153 | 14 |
al@21153 | 15 BUILD_DEPENDS="cmake ninja brotli-dev" |
al@21153 | 16 SPLIT="$PACKAGE-dev" |
al@21153 | 17 |
al@21153 | 18 DEPENDS_std="brotli" |
al@21153 | 19 DEPENDS_dev="$PACKAGE brotli-dev" |
al@21153 | 20 |
al@21153 | 21 compile_rules() { |
al@21153 | 22 sed -i 's|NOT BUILD_SHARED_LIBS|TRUE|' CMakeLists.txt |
al@21153 | 23 |
al@21153 | 24 mkdir build |
al@21153 | 25 cd build |
al@21153 | 26 cmake \ |
al@21153 | 27 -G Ninja \ |
al@21153 | 28 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@21153 | 29 -DCMAKE_INSTALL_LIBDIR=/usr/lib \ |
al@21153 | 30 .. && |
al@21153 | 31 ninja && |
al@21153 | 32 ninja install |
al@21153 | 33 } |