woff2: contrib -> opt

This commit is contained in:
Danny Rawlins 2018-04-02 15:09:29 +10:00
parent acef8137d7
commit 3924c7bfcb
4 changed files with 47 additions and 0 deletions

17
woff2/.footprint Normal file
View File

@ -0,0 +1,17 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/woff2/
-rw-r--r-- root/root usr/include/woff2/decode.h
-rw-r--r-- root/root usr/include/woff2/encode.h
-rw-r--r-- root/root usr/include/woff2/output.h
drwxr-xr-x root/root usr/lib/
lrwxrwxrwx root/root usr/lib/libwoff2common.so -> libwoff2common.so.1.0.2
-rwxr-xr-x root/root usr/lib/libwoff2common.so.1.0.2
lrwxrwxrwx root/root usr/lib/libwoff2dec.so -> libwoff2dec.so.1.0.2
-rwxr-xr-x root/root usr/lib/libwoff2dec.so.1.0.2
lrwxrwxrwx root/root usr/lib/libwoff2enc.so -> libwoff2enc.so.1.0.2
-rwxr-xr-x root/root usr/lib/libwoff2enc.so.1.0.2
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/libwoff2common.pc
-rw-r--r-- root/root usr/lib/pkgconfig/libwoff2dec.pc
-rw-r--r-- root/root usr/lib/pkgconfig/libwoff2enc.pc

1
woff2/.md5sum Normal file
View File

@ -0,0 +1 @@
793c8844845351cb80730a74937e411b woff2-v1.0.2.tar.gz

5
woff2/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/YnisSySExD4EcUslgQNVa4M3nLHLJaRg4mMK5AgD2zTW8q2A2/yCvZKIUdezKFJ0uhu6E+GmwRf5CBJt9rf9gk=
SHA256 (Pkgfile) = e4c2d53e1c7b2aafa865fdc76b371a9e8dd072b52928e89e868da0a48a4dba93
SHA256 (.footprint) = c179ebad9e8bc5f83860892a89d23b7d5eaeb425234ed56e8759835357eee452
SHA256 (woff2-v1.0.2.tar.gz) = add272bb09e6384a4833ffca4896350fdb16e0ca22df68c0384773c67a175594

24
woff2/Pkgfile Normal file
View File

@ -0,0 +1,24 @@
# Description: Web Open Font Format 2 reference implementation
# URL: https://github.com/google/woff2
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: brotli ninja
name=woff2
version=1.0.2
release=1
source=(https://github.com/google/$name/archive/v$version/$name-v$version.tar.gz)
build() {
cd $name-$version
install -d $SRC/build
cd $SRC/build
cmake $SRC/$name-$version \
-G Ninja \
-DCMAKE_INSTALL_PREFIX="/usr" \
-DCMAKE_INSTALL_LIBDIR="/usr/lib"
ninja -j ${JOBS-1}
DESTDIR="$PKG" ninja install
}