New package: libfastjson-0.99.2

This commit is contained in:
Michael Gehring 2016-03-11 09:42:35 +01:00
parent 1dba1be880
commit 3e09701f71
3 changed files with 33 additions and 0 deletions

View File

@ -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

1
srcpkgs/libfastjson-devel Symbolic link
View File

@ -0,0 +1 @@
libfastjson

View File

@ -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 <mg@ebfe.org>"
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
}
}