wok-next view woff2/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | 23982d05637c |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="woff2"
4 VERSION="1.0.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="Web Open Font Format 2 reference implementation"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="https://github.com/google/woff2"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/google/woff2/archive/v$VERSION.tar.gz"
13 TARBALL_SHA1="bab4838b248026c968e171a5467b5176caf4e2e5"
15 BUILD_DEPENDS="cmake ninja brotli-dev"
16 SPLIT="$PACKAGE-dev"
18 DEPENDS_std="libbrotli"
19 DEPENDS_dev="$PACKAGE brotli-dev"
21 compile_rules() {
22 sed -i 's|NOT BUILD_SHARED_LIBS|TRUE|' CMakeLists.txt
24 mkdir build
25 cd build
26 cmake \
27 -G Ninja \
28 -DCMAKE_INSTALL_PREFIX=/usr \
29 -DCMAKE_INSTALL_LIBDIR=/usr/lib \
30 .. &&
31 ninja &&
32 ninja install
33 }