void-packages/srcpkgs/double-conversion/template

28 lines
883 B
Bash

# Template file for 'double-conversion'
pkgname=double-conversion
version=3.1.1
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/v${version}.tar.gz"
checksum=c49a6b3fa9c917f827b156c8e0799ece88ae50440487a99fc2f284cfd357a5b9
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
}
}