double-conversion: updated cmake syntax
This commit is contained in:
parent
8e6bf7f4a2
commit
27ec0d077e
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF3yve9fYRKp0kq9+9+DbMOTwokrNOTGXKv2GnrQubWVomQUwlB35R4oOGcvF7CIoGShcHhwmZ8J0QC5i+uPI3RAE=
|
||||
SHA256 (Pkgfile) = 87bb6a679ec4025ea4ba359ed3b0dea1aafbcfc5e2f36be67782fc12a2d2c86f
|
||||
RWSagIOpLGJF37Irx8jsd/Fo0jzzwlhFKXzMRwlreOdnoY39Pg28iNPnpPf48tnt4czdoe4kxY+L6WLe8YhCiSQFt66IFucnUwg=
|
||||
SHA256 (Pkgfile) = b105f2d553c95fe53bd73a284cefb150b63a4062711d87bb60ac6961a87fed91
|
||||
SHA256 (.footprint) = 608ccf24fd335af06b1871d651462533d636ab76acf97ac85ebee01f8852760e
|
||||
SHA256 (double-conversion-v3.1.5.tar.gz) = a63ecb93182134ba4293fd5f22d6e08ca417caafa244afaa751cbfddf6415b13
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Description: Binary-decimal and decimal-binary routines for IEEE doubles
|
||||
# URL: https://github.com/google/double-conversion
|
||||
# Maintainer: Danny Rawlins, crux at romster dot me
|
||||
# Depends on: cmake ninja
|
||||
# Depends on: cmake
|
||||
|
||||
name=double-conversion
|
||||
version=3.1.5
|
||||
@ -9,10 +9,14 @@ release=1
|
||||
source=(https://github.com/google/double-conversion/archive/v$version/$name-v$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cmake -S$name-$version -Bbuild -GNinja \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
[[ -e /usr/bin/ninja ]] && PKGMK_DC_OPTIONS=' -GNinja'
|
||||
cmake -S$name-$version -Bbuild $PKGMK_DC_OPTIONS \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG" \
|
||||
-DCMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" \
|
||||
-Wno-dev \
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
|
||||
cmake --build build
|
||||
|
Loading…
x
Reference in New Issue
Block a user