double-conversion: add devel subpackage

This commit is contained in:
Jürgen Buchmüller 2017-03-27 06:43:50 +02:00
parent d3202fa862
commit cd60569245
3 changed files with 13 additions and 1 deletions

View File

@ -2800,3 +2800,4 @@ libnss_libvirt_guest.so.2 libvirt-3.1.0_1
libvirt-admin.so.0 libvirt-3.1.0_1
libnss_libvirt.so.2 libvirt-3.1.0_1
libassimp.so.3 libassimp-3.3.1_1
libdouble-conversion.so.1 double-conversion-2.0.1_1

View File

@ -0,0 +1 @@
double-conversion

View File

@ -1,7 +1,7 @@
# Template file for 'double-conversion'
pkgname=double-conversion
version=2.0.1
revision=1
revision=2
build_style=scons
hostmakedepends="scons"
short_desc="Provides binary-decimal and decimal-binary routines for IEEE doubles"
@ -15,3 +15,13 @@ 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
}
}