allegro: updated cmake syntax
This commit is contained in:
parent
53e174d9f5
commit
bcc83a9cca
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF32KXmEavxEOg3ksDlejPNvJfy3prQK2dAX9v5qJJ5IoP3XdrxjmK3PlY/bk3aeSJfQWqH5mNLtRgNgeiXxhbsQM=
|
||||
SHA256 (Pkgfile) = 3c993accc4878b9b3b0539e05ce85c033d268636ccf8e65345ffc8327b15e91c
|
||||
RWSagIOpLGJF3/zsxZIXotkXOzxmSfKq5MgTdqbz3gbZ24G0lUD1Fg29b8yfBhJ3iuX7u2vPHEo9AIfB/zQS3isbYrc3MoPbWAU=
|
||||
SHA256 (Pkgfile) = 2b35ef5653cc6ddf595fec9442ccdeb4c8416c05d1dd49d5ff895c3fdab828ed
|
||||
SHA256 (.footprint) = 658515197e7430432c258e5832614e37b7e2f71996edb3a00759fb688e669b99
|
||||
SHA256 (allegro-5.2.6.0.tar.gz) = 5de8189ec051e1865f359654f86ec68e2a12a94edd00ad06d1106caa5ff27763
|
||||
|
@ -9,13 +9,13 @@ release=1
|
||||
source=(https://github.com/liballeg/allegro5/releases/download/$version/$name-$version.tar.gz)
|
||||
|
||||
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" \
|
||||
-DWANT_DOCS_HTML=OFF \
|
||||
-Wno-dev
|
||||
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" \
|
||||
-D WANT_DOCS_HTML=OFF \
|
||||
-W no-dev
|
||||
|
||||
cmake --build build
|
||||
DESTDIR=$PKG cmake --install build
|
||||
|
Loading…
x
Reference in New Issue
Block a user