void-packages/srcpkgs/double-conversion/template

27 lines
795 B
Bash

# Template file for 'double-conversion'
pkgname=double-conversion
version=3.0.0
revision=1
build_style=scons
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"
distfiles="https://github.com/google/double-conversion/archive/v${version}.tar.gz"
checksum=152f15355242b6b1fbb4098fcd825bf08527eda0c65e8446939222a13f0b3915
post_install() {
vlicense LICENSE
}
double-conversion-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmkdir usr/include/double-conversion
vcopy double-conversion/*.h usr/include/double-conversion/
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}