contrib/double-conversion/Pkgfile

21 lines
578 B
Plaintext
Raw Normal View History

2020-05-28 16:29:44 +02:00
# 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
name=double-conversion
version=3.1.5
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 \
-DCMAKE_INSTALL_PREFIX=/usr \
2020-07-08 13:44:12 +02:00
-DCMAKE_INSTALL_LIBDIR=lib \
2020-05-28 16:29:44 +02:00
-DBUILD_SHARED_LIBS=ON
cmake --build build
2020-07-08 15:01:36 +02:00
DESTDIR=$PKG cmake --install build
2020-05-28 16:29:44 +02:00
}