From 9a26d3fdc7fca2df6f824b56034ab9a823e898d8 Mon Sep 17 00:00:00 2001 From: davidovski Date: Fri, 15 Jul 2022 00:52:21 +0100 Subject: added python deps for libvirt --- repo/woff2/woff2.xibuild | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 repo/woff2/woff2.xibuild (limited to 'repo/woff2/woff2.xibuild') diff --git a/repo/woff2/woff2.xibuild b/repo/woff2/woff2.xibuild new file mode 100644 index 0000000..1a94e9b --- /dev/null +++ b/repo/woff2/woff2.xibuild @@ -0,0 +1,31 @@ +#!/bin/sh + +NAME="woff2" +DESC="Web Open Font Format 2 reference implementation" + +MAKEDEPS="brotli cmake" + +PKG_VER=1.0.2 +SOURCE="https://github.com/google/woff2/archive/v$PKG_VER.tar.gz" + +ADDITIONAL=" +dont-set-rpath.patch +install-executables.patch +" + +prepare () { + apply_patches +} + +build() { + cmake . \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DCMAKE_SKIP_BUILD_RPATH=ON + make +} + +package() { + make DESTDIR="$PKG_DEST" PREFIX=/usr install +} -- cgit v1.2.1