diff --git a/common/shlibs b/common/shlibs index c15c1fb3f2b..43b2e852e39 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1735,3 +1735,4 @@ libawt_xawt.so openjdk-jre-8u20_1 libjava.so openjdk-jre-8u20_1 libjli.so openjdk-jre-8u20_1 libjvm.so openjdk-jre-8u20_1 +libucl.so.0 libucl-0.5.2_1 diff --git a/srcpkgs/libucl-devel b/srcpkgs/libucl-devel new file mode 120000 index 00000000000..c706bf9582d --- /dev/null +++ b/srcpkgs/libucl-devel @@ -0,0 +1 @@ +libucl \ No newline at end of file diff --git a/srcpkgs/libucl/template b/srcpkgs/libucl/template new file mode 100644 index 00000000000..1c91718375f --- /dev/null +++ b/srcpkgs/libucl/template @@ -0,0 +1,33 @@ +# Template file for 'libucl' +pkgname=libucl +version=0.5.2 +revision=1 +build_style=gnu-configure +hostmakedepends="automake libtool git pkg-config" +makedepends="libcurl-devel" +short_desc="Universal configuration library parser" +maintainer="Juan RP " +license="2-clause-BSD" +homepage="https://github.com/vstakhov/libucl" + +do_fetch() { + git clone -b ${version} git://github.com/vstakhov/libucl.git ${pkgname}-${version} +} +pre_configure() { + NOCONFIGURE=1 ./autogen.sh +} +post_install() { + vlicense COPYING LICENSE +} + +libucl-devel_package() { + short_desc+=" - development files" + depends="${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove usr/lib/*.a + vmove usr/lib/*.so + vmove usr/lib/pkgconfig + vmove usr/share + } +}