32 lines
898 B
Bash
32 lines
898 B
Bash
# Template file for 'double-conversion'
|
|
pkgname=double-conversion
|
|
version=3.2.1
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_SHARED_LIBS=ON"
|
|
short_desc="Efficient binary-decimal and decimal-binary routines for IEEE doubles"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://github.com/google/double-conversion"
|
|
changelog="https://github.com/google/double-conversion/releases"
|
|
distfiles="https://github.com/google/double-conversion/archive/v${version}.tar.gz"
|
|
checksum=e40d236343cad807e83d192265f139481c51fc83a1c49e406ac6ce0a0ba7cd35
|
|
|
|
if [ "$XBPS_CHECK_PKGS" ]; then
|
|
configure_args+=" -DBUILD_TESTING=ON"
|
|
fi
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
double-conversion-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|