From 3e09701f718dda0bc73115a5aa97666a00c54781 Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Fri, 11 Mar 2016 09:42:35 +0100 Subject: [PATCH] New package: libfastjson-0.99.2 --- common/shlibs | 1 + srcpkgs/libfastjson-devel | 1 + srcpkgs/libfastjson/template | 31 +++++++++++++++++++++++++++++++ 3 files changed, 33 insertions(+) create mode 120000 srcpkgs/libfastjson-devel create mode 100644 srcpkgs/libfastjson/template diff --git a/common/shlibs b/common/shlibs index e8fbe7a357d..653cda0be1e 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2400,3 +2400,4 @@ libgds.so.0 libfbclient-2.5.5.26952_1 libqxmpp.so.0 qxmpp-0.9.3_1 libunwind.so.1 llvm-libunwind-3.8.0_1 libc++abi.so.1 libcxxabi-3.8.0_1 +libfastjson.so.3 libfastjson-0.99.2_1 diff --git a/srcpkgs/libfastjson-devel b/srcpkgs/libfastjson-devel new file mode 120000 index 00000000000..f84842fdcb0 --- /dev/null +++ b/srcpkgs/libfastjson-devel @@ -0,0 +1 @@ +libfastjson \ No newline at end of file diff --git a/srcpkgs/libfastjson/template b/srcpkgs/libfastjson/template new file mode 100644 index 00000000000..717216b5db6 --- /dev/null +++ b/srcpkgs/libfastjson/template @@ -0,0 +1,31 @@ +# Template file for 'libfastjson' +pkgname=libfastjson +version=0.99.2 +revision=1 +build_style=gnu-configure +hostmakedepends="automake libtool" +short_desc="A JSON implementation in C (json-c fork)" +maintainer="Michael Gehring " +license="MIT" +homepage="https://github.com/rsyslog/libfastjson" +distfiles="https://github.com/rsyslog/libfastjson/archive/v${version}.tar.gz" +checksum=fcdca0c4702362de3db3f02c8da05f985b54a9eccd618af41730409b75d10a8f + +pre_configure() { + autoreconf -fi +} + +post_install() { + vlicense COPYING +} + +libfastjson-devel_package() { + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove "usr/lib/*.a" + vmove "usr/lib/*.so" + vmove usr/include + vmove usr/lib/pkgconfig + } +}