ports/opt (3.5): woff2: clean up, enable binaries
commit 5377524a647d7f96d413ee2c108165fd1eb1e69d Author: Danny Rawlins <contact@romster.me> Date: Mon Aug 31 19:38:59 2020 +1000 woff2: clean up, enable binaries diff --git a/woff2/.footprint b/woff2/.footprint index a92144861..d81c4a00d 100644 --- a/woff2/.footprint +++ b/woff2/.footprint @@ -1,4 +1,8 @@ drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/woff2_compress +-rwxr-xr-x root/root usr/bin/woff2_decompress +-rwxr-xr-x root/root usr/bin/woff2_info 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 diff --git a/woff2/.signature b/woff2/.signature index a606b6e7f..4bc4dbcb5 100644 --- a/woff2/.signature +++ b/woff2/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/opt.pub -RWSE3ohX2g5d/YnisSySExD4EcUslgQNVa4M3nLHLJaRg4mMK5AgD2zTW8q2A2/yCvZKIUdezKFJ0uhu6E+GmwRf5CBJt9rf9gk= -SHA256 (Pkgfile) = e4c2d53e1c7b2aafa865fdc76b371a9e8dd072b52928e89e868da0a48a4dba93 -SHA256 (.footprint) = c179ebad9e8bc5f83860892a89d23b7d5eaeb425234ed56e8759835357eee452 +RWSE3ohX2g5d/dqIAXwqHEtxG/CjCtXS+f5bCmWJL1JHIF0Opn3ycWrCqMuEWwrnZou/NvkgBr00lSIH9E76uu9+oA2SaLf6Qwk= +SHA256 (Pkgfile) = 1737a6d7dddf0e30c46e47dba655d62d93148d7210ba203316d05ac2ae9f9276 +SHA256 (.footprint) = af87367cfacc74e31b0dce9a3806867dbb5ab8a0ef4a5bc9f2855e3972400c4f SHA256 (woff2-v1.0.2.tar.gz) = add272bb09e6384a4833ffca4896350fdb16e0ca22df68c0384773c67a175594 diff --git a/woff2/Pkgfile b/woff2/Pkgfile index 8cae39ed3..19a6ca14d 100644 --- a/woff2/Pkgfile +++ b/woff2/Pkgfile @@ -1,24 +1,20 @@ # 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 +# Depends on: brotli name=woff2 version=1.0.2 -release=1 +release=2 source=(https://github.com/google/$name/archive/v$version/$name-v$version.tar.gz) build() { - cd $name-$version + sed -i 's/NOT BUILD_SHARED_LIBS/TRUE/' $name-$version/CMakeLists.txt - install -d $SRC/build - cd $SRC/build - - cmake $SRC/$name-$version \ - -G Ninja \ + cmake -S$name-$version -Bbuild -GNinja \ -DCMAKE_INSTALL_PREFIX="/usr" \ -DCMAKE_INSTALL_LIBDIR="/usr/lib" - ninja -j ${JOBS-1} - DESTDIR="$PKG" ninja install + cmake --build build + DESTDIR=$PKG cmake --install build }
participants (1)
-
crux@crux.nu