cpp-hocon: build shared library
This commit is contained in:
parent
c60dbd5448
commit
66c3fdc295
|
@ -4205,3 +4205,4 @@ libtraceevent.so.1 libtraceevent-1.6.2_1
|
|||
libtracefs.so.1 libtracefs-1.4.2_1
|
||||
libtracecmd.so.1 libtracecmd-3.1.2_1
|
||||
libkshark.so.2 libkshark-2.1.1_1
|
||||
libcpp-hocon.so.0.3.0 cpp-hocon-0.3.0_5
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
cpp-hocon
|
|
@ -1,20 +1,23 @@
|
|||
# Template file for 'cpp-hocon'
|
||||
pkgname=cpp-hocon
|
||||
version=0.3.0
|
||||
revision=4
|
||||
revision=5
|
||||
build_style=cmake
|
||||
configure_args="-DBUILD_SHARED_LIBS=ON"
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="boost-devel leatherman-devel libcurl-devel"
|
||||
short_desc="C++ port of the Typesafe Config library"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="Apache-2.0"
|
||||
homepage="https://github.com/puppetlabs/cpp-hocon/"
|
||||
distfiles="https://github.com/puppetlabs/cpp-hocon/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
|
||||
distfiles="https://github.com/puppetlabs/cpp-hocon/archive/${version}.tar.gz"
|
||||
checksum=dab02354046f05aca6275c746d7583ee5f71853aa5b1d93529564632e184c3dd
|
||||
|
||||
post_install() {
|
||||
# this package is a static library,
|
||||
# needs to be rebuild when update boost,
|
||||
# force an shlib-dependencies
|
||||
vbin build/bin/libcpp-hocon_test
|
||||
cpp-hocon-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove "usr/lib/*.so"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue