diff --git a/common/shlibs b/common/shlibs index 3da9f38d56a..8fd417267d4 100644 --- a/common/shlibs +++ b/common/shlibs @@ -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 diff --git a/srcpkgs/cpp-hocon-devel b/srcpkgs/cpp-hocon-devel new file mode 120000 index 00000000000..8d8bc1453e8 --- /dev/null +++ b/srcpkgs/cpp-hocon-devel @@ -0,0 +1 @@ +cpp-hocon \ No newline at end of file diff --git a/srcpkgs/cpp-hocon/template b/srcpkgs/cpp-hocon/template index f61316adcc1..ce521b1395a 100644 --- a/srcpkgs/cpp-hocon/template +++ b/srcpkgs/cpp-hocon/template @@ -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 " 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" + } }