forked from ports/contrib
wpebackend-fdo: updated cmake syntax
This commit is contained in:
parent
406321479c
commit
700fc60cfe
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF3yGjuCj94wJH4bBgNWKDO9FH/mG5bnIWNmwmpMU/zoU51lnek72kRBYqnpjKkF7d6CUeH1Igo87r7YmvQYT8gQI=
|
||||
SHA256 (Pkgfile) = bfbe7b74e1f259265aa4be93388d37a44f06d3db439dc758fba53d1464353f08
|
||||
RWSagIOpLGJF30coAXGS9Vw0xvfT2c1f2AmQw/n4S9nOCUxEuOSfmC4lDYWnA+KCbVZhyylEuZ7z8x0UEBZXUZJBIhjoyorJGQY=
|
||||
SHA256 (Pkgfile) = a17e19b9eff835a57cc6684c2508097041243d16b783cabf9c36360871e1a3b6
|
||||
SHA256 (.footprint) = f1940f4af0fef2c1a95b9a696daf17c4ca47a636ef452e45e9b44e43743716b1
|
||||
SHA256 (wpebackend-fdo-1.8.0.tar.xz) = 9652a99c75fe1c6eab0585b6395f4e104b2427e4d1f42969f1f77df29920d253
|
||||
|
@ -9,10 +9,13 @@ release=1
|
||||
source=(https://wpewebkit.org/releases/$name-$version.tar.xz)
|
||||
|
||||
build() {
|
||||
cmake -S$name-$version -Bbuild -GNinja \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
|
||||
-DCMAKE_BUILD_TYPE=Release
|
||||
cmake -S $name-$version -B build -G Ninja \
|
||||
-D CMAKE_INSTALL_PREFIX=/usr \
|
||||
-D CMAKE_INSTALL_LIBDIR=lib \
|
||||
-D CMAKE_BUILD_TYPE=Release \
|
||||
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG" \
|
||||
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" \
|
||||
-Wno-dev
|
||||
cmake --build build
|
||||
DESTDIR=$PKG cmake --install build
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user