double-conversion: adopted port

This commit is contained in:
Tim Biermann 2023-08-27 17:49:14 +02:00
parent f0693bf845
commit 984d6eae20
Signed by: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 13 additions and 15 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/XTbycWq22NsB1UOd0gcZQkf/J27VWFZKAGNMqL1V8N0XweyhkNWyu//9Ts+6toh43qUv8ZOFT5azOCG+rqjRA8=
SHA256 (Pkgfile) = 15eddc0fb00f8aec945ff3027d463b09c99baefe28f270b479d5693ccaabfe45
RWSE3ohX2g5d/U3Yeo6MJdhIpHdMYoX5ShhlIQthgh92NRmnMvEK/rF9LG8SbkIXDzIqdRYTGR/fFSVvyI40TDHHrmzcOZorNAg=
SHA256 (Pkgfile) = 10099f272d6f451c2f9725cbfec985bd61235e2a296bddcfa079b8bdfaab92d7
SHA256 (.footprint) = 074c28fb1324d02d324086ff8d8a534679e7b75cde307f6dad35171389c30ae8
SHA256 (double-conversion-v3.3.0.tar.gz) = 04ec44461850abbf33824da84978043b22554896b552c5fd11a9c5ae4b4d296e

View File

@ -1,7 +1,6 @@
# 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
# Maintainer: Tim Biermann, tbier at posteo dot de
name=double-conversion
version=3.3.0
@ -9,16 +8,15 @@ release=1
source=(https://github.com/google/double-conversion/archive/v$version/$name-v$version.tar.gz)
build() {
prt-get isinst ninja && PKGMK_DC+=' -G Ninja'
cmake -S $name-$version -B build $PKGMK_DC_OPTIONS \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
-DBUILD_SHARED_LIBS=ON \
-Wno-dev
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" \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
-D BUILD_SHARED_LIBS=ON \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
cmake --build build
DESTDIR=$PKG cmake --install build
}