mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
woff2, cleanup (#8468)
This commit is contained in:
@@ -8,7 +8,7 @@ fonts are transferred from a server to a client over a network connection."
|
||||
HOMEPAGE="https://github.com/google/woff2/"
|
||||
COPYRIGHT="2013-2022 by the WOFF2 Authors"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://github.com/google/woff2/archive/refs/tags/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="add272bb09e6384a4833ffca4896350fdb16e0ca22df68c0384773c67a175594"
|
||||
|
||||
@@ -53,28 +53,23 @@ BUILD_PREREQUIRES="
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake -DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=$prefix \
|
||||
-DCMAKE_INSTALL_LIBDIR=$libDir \
|
||||
-DCMAKE_INSTALL_INCLUDEDIR=$includeDir \
|
||||
-DCMAKE_SKIP_RPATH=ON \
|
||||
-DCANONICAL_PREFIXES=ON \
|
||||
..
|
||||
make
|
||||
cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=$prefix \
|
||||
-DCMAKE_INSTALL_LIBDIR=$libDir \
|
||||
-DCMAKE_INSTALL_INCLUDEDIR=$includeDir \
|
||||
-DCMAKE_SKIP_RPATH=ON \
|
||||
-DCANONICAL_PREFIXES=ON
|
||||
make -C build $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
make install
|
||||
make -C build install
|
||||
|
||||
prepareInstalledDevelLibs \
|
||||
libwoff2enc \
|
||||
libwoff2dec \
|
||||
libwoff2common
|
||||
|
||||
libwoff2enc \
|
||||
libwoff2dec \
|
||||
libwoff2common
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
|
||||
Reference in New Issue
Block a user