32 lines
898 B
Bash
32 lines
898 B
Bash
# Template file for 'double-conversion'
|
|
pkgname=double-conversion
|
|
version=3.3.0
|
|
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=04ec44461850abbf33824da84978043b22554896b552c5fd11a9c5ae4b4d296e
|
|
|
|
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"
|
|
}
|
|
}
|