void-packages/srcpkgs/double-conversion/template

28 lines
794 B
Bash

# Template file for 'double-conversion'
pkgname=double-conversion
version=2.0.1
revision=2
build_style=scons
hostmakedepends="scons"
short_desc="Provides binary-decimal and decimal-binary routines for IEEE doubles"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="v8"
homepage="https://github.com/google/double-conversion"
distfiles="https://github.com/google/double-conversion/archive/v${version}.tar.gz"
checksum=ca9ec6974eaaa29827b916c90666fba3b0b6641030fe2ab34a81e280187acdef
post_install() {
vlicense LICENSE
}
double-conversion-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmkdir usr/include/double-conversion
vcopy src/*.h usr/include/double-conversion/
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}