wok-current view woff2/receipt @ rev 25672

patch tazpkg, upgrade core pkgs first
author Stanislas Leduc <shann@slitaz.org>
date Sun Mar 03 17:58:42 2024 +0000 (5 months ago)
parents
children
line source
1 # SliTaz package receipt.
3 PACKAGE="woff2"
4 VERSION="20220330"
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.bz2"
12 WGET_URL="git|https://github.com/google/woff2.git"
13 BRANCH="4721483ad780ee2b63cb787bfee4aa64b61a0446"
15 DEPENDS="brotli"
16 BUILD_DEPENDS="cmake ninja git brotli-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 mkdir build && cd build
22 cmake \
23 -G Ninja \
24 -DCMAKE_INSTALL_PREFIX=/usr \
25 -DCMAKE_INSTALL_LIBDIR=/usr/lib \
26 .. &&
27 ninja &&
28 DESTDIR=$install ninja install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/bin $fs/usr/lib
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 }