wok-next view 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 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="brotli"
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 }