void-packages/srcpkgs/double-conversion/template

28 lines
882 B
Bash

# Template file for 'double-conversion'
pkgname=double-conversion
version=3.1.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"
changelog="https://raw.githubusercontent.com/google/double-conversion/master/Changelog"
distfiles="https://github.com/google/double-conversion/archive/${version}.tar.gz"
checksum=aef5f528dab826b269b54766a4c2d179e361866c75717af529f91c56b4034665
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
}
}