diff options
author | davidovski <david@davidovski.xyz> | 2022-07-15 00:52:21 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-07-15 00:52:21 +0100 |
commit | 9a26d3fdc7fca2df6f824b56034ab9a823e898d8 (patch) | |
tree | 278bbf05c72536a30e701eebbd3546ba137543e7 /repo/woff2/woff2.xibuild | |
parent | f6332a43c35387c4a2dea1746be5fd092890ae0e (diff) |
added python deps for libvirt
Diffstat (limited to 'repo/woff2/woff2.xibuild')
-rw-r--r-- | repo/woff2/woff2.xibuild | 31 |
1 files changed, 31 insertions, 0 deletions
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 +} |