aboutsummaryrefslogtreecommitdiff
path: root/srcpkgs/double-conversion/template
blob: 20e0956a4f6dd1422a628e0c9e8aad2a9d9e864c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Template file for 'double-conversion'
pkgname=double-conversion
version=3.3.0
revision=1
build_style=cmake
configure_args="-DBUILD_SHARED_LIBS=ON"
short_desc="Efficient binary-decimal and decimal-binary routines for IEEE doubles"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/google/double-conversion"
changelog="https://github.com/google/double-conversion/releases"
distfiles="https://github.com/google/double-conversion/archive/v${version}.tar.gz"
checksum=04ec44461850abbf33824da84978043b22554896b552c5fd11a9c5ae4b4d296e

if [ "$XBPS_CHECK_PKGS" ]; then
	configure_args+=" -DBUILD_TESTING=ON"
fi

post_install() {
	vlicense LICENSE
}

double-conversion-devel_package() {
	short_desc+=" - development files"
	depends="${sourcepkg}>=${version}_${revision}"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/cmake
		vmove "usr/lib/*.so"
	}
}