forked from ports/contrib
sakura: updated cmake syntax
This commit is contained in:
parent
fd9497a92a
commit
a5dce4d6b6
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF3wKBxXMXzs8XVmz97Dd2soRLRAVTXF5K8VG8TjtyBAyta7lnhIw/w1L85AB4FMk7vBFmWYW4ulOiec+YHaM5qAE=
|
||||
SHA256 (Pkgfile) = 4a31b58db36e5cf27f906a02e70d9427cf1cfb7a04ecaf088d6b002dc96dbde7
|
||||
RWSagIOpLGJF3+zFNSycq5YY6LCXI/5vKWcy9oUb2iUVy2B2lpuQXhtx/qI7Z2a5Zo97w5S2PuKWocopKhO4ScRqctVkecaBTAE=
|
||||
SHA256 (Pkgfile) = 7058aea3cf6b1193c43b6ec2d5c370d1224fc29a80d2709c731e9d5f0c59645f
|
||||
SHA256 (.footprint) = 329496cfa310c07f4b8f63ec1a6a69e2dbcc82825f430df777108d134d8a6979
|
||||
SHA256 (sakura-3.7.1.tar.bz2) = 729a4e0e750a4294bd9059243aac54df2a801250159fc550b50b0fe026ab928b
|
||||
|
@ -9,11 +9,11 @@ release=1
|
||||
source=(https://launchpad.net/sakura/trunk/$version/+download/$name-$version.tar.bz2)
|
||||
|
||||
build() {
|
||||
cmake -S$name-$version -Bbuild -GNinja \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_BUILD_TYPE=RELEASE \
|
||||
-DCMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG" \
|
||||
-DCMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" \
|
||||
cmake -S $name-$version -B build -G Ninja \
|
||||
-D CMAKE_INSTALL_PREFIX=/usr \
|
||||
-D CMAKE_BUILD_TYPE=RELEASE \
|
||||
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG" \
|
||||
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" \
|
||||
-Wno-dev
|
||||
|
||||
cmake --build build
|
||||
|
Loading…
x
Reference in New Issue
Block a user