wok-next view woff2/receipt @ rev 21158
tor 0.3.5.7
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Thu Feb 07 06:59:40 2019 +0000 (2019-02-07) |
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 }