28 lines
866 B
Bash
28 lines
866 B
Bash
# Template file for 'double-conversion'
|
|
pkgname=double-conversion
|
|
version=3.1.5
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=ON"
|
|
short_desc="Efficient binary-decimal and decimal-binary routines for IEEE doubles"
|
|
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://github.com/google/double-conversion"
|
|
changelog="https://raw.githubusercontent.com/google/double-conversion/master/Changelog"
|
|
distfiles="https://github.com/google/double-conversion/archive/v${version}.tar.gz"
|
|
checksum=a63ecb93182134ba4293fd5f22d6e08ca417caafa244afaa751cbfddf6415b13
|
|
|
|
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"
|
|
}
|
|
}
|