void-packages/srcpkgs/double-conversion/template
cr6git 8caa87a80f
double-conversion: update to 3.0.0.
Closes: #12846 [via git-merge-pr]
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2018-04-08 13:00:50 +02:00

27 lines
819 B
Bash

# Template file for 'double-conversion'
pkgname=double-conversion
version=3.0.0
revision=1
build_style=scons
hostmakedepends="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
}
}