double-conversion: adopted port
This commit is contained in:
parent
f0693bf845
commit
984d6eae20
@ -1,5 +1,5 @@
|
|||||||
untrusted comment: verify with /etc/ports/opt.pub
|
untrusted comment: verify with /etc/ports/opt.pub
|
||||||
RWSE3ohX2g5d/XTbycWq22NsB1UOd0gcZQkf/J27VWFZKAGNMqL1V8N0XweyhkNWyu//9Ts+6toh43qUv8ZOFT5azOCG+rqjRA8=
|
RWSE3ohX2g5d/U3Yeo6MJdhIpHdMYoX5ShhlIQthgh92NRmnMvEK/rF9LG8SbkIXDzIqdRYTGR/fFSVvyI40TDHHrmzcOZorNAg=
|
||||||
SHA256 (Pkgfile) = 15eddc0fb00f8aec945ff3027d463b09c99baefe28f270b479d5693ccaabfe45
|
SHA256 (Pkgfile) = 10099f272d6f451c2f9725cbfec985bd61235e2a296bddcfa079b8bdfaab92d7
|
||||||
SHA256 (.footprint) = 074c28fb1324d02d324086ff8d8a534679e7b75cde307f6dad35171389c30ae8
|
SHA256 (.footprint) = 074c28fb1324d02d324086ff8d8a534679e7b75cde307f6dad35171389c30ae8
|
||||||
SHA256 (double-conversion-v3.3.0.tar.gz) = 04ec44461850abbf33824da84978043b22554896b552c5fd11a9c5ae4b4d296e
|
SHA256 (double-conversion-v3.3.0.tar.gz) = 04ec44461850abbf33824da84978043b22554896b552c5fd11a9c5ae4b4d296e
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
# Description: Binary-decimal and decimal-binary routines for IEEE doubles
|
# Description: Binary-decimal and decimal-binary routines for IEEE doubles
|
||||||
# URL: https://github.com/google/double-conversion
|
# URL: https://github.com/google/double-conversion
|
||||||
# Maintainer: Danny Rawlins, crux at romster dot me
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||||
# Depends on: cmake
|
|
||||||
|
|
||||||
name=double-conversion
|
name=double-conversion
|
||||||
version=3.3.0
|
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)
|
source=(https://github.com/google/double-conversion/archive/v$version/$name-v$version.tar.gz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
prt-get isinst ninja && PKGMK_DC+=' -G Ninja'
|
cmake -S $name-$version -B build -G Ninja \
|
||||||
cmake -S $name-$version -B build $PKGMK_DC_OPTIONS \
|
-D CMAKE_INSTALL_PREFIX=/usr \
|
||||||
-D CMAKE_INSTALL_PREFIX=/usr \
|
-D CMAKE_INSTALL_LIBDIR=lib \
|
||||||
-D CMAKE_INSTALL_LIBDIR=lib \
|
-D CMAKE_BUILD_TYPE=Release \
|
||||||
-D CMAKE_BUILD_TYPE=Release \
|
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
|
||||||
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
|
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
|
||||||
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
|
-D BUILD_SHARED_LIBS=ON \
|
||||||
-DBUILD_SHARED_LIBS=ON \
|
-Wno-dev
|
||||||
-Wno-dev
|
|
||||||
|
|
||||||
cmake --build build
|
cmake --build build
|
||||||
DESTDIR=$PKG cmake --install build
|
DESTDIR=$PKG cmake --install build
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user