32 lines
757 B
Bash
32 lines
757 B
Bash
# Template file for 'libfastjson'
|
|
pkgname=libfastjson
|
|
version=0.99.3
|
|
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=a675af6a6a76e53e79f54a436cba708ba8ee0159067ba01b35c631e2f8bd469c
|
|
|
|
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
|
|
}
|
|
}
|