double-conversion: add devel subpackage
This commit is contained in:
parent
d3202fa862
commit
cd60569245
|
@ -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
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
double-conversion
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue