void-packages/srcpkgs/jansson/template

28 lines
787 B
Bash

# Template file for 'jansson'
pkgname=jansson
version=2.14
revision=1
build_style=gnu-configure
short_desc="Library for encoding, decoding and manipulating JSON data"
maintainer="Jose G Perez Taveras <josegpt27@gmail.com>"
license="MIT"
homepage="https://www.digip.org/jansson/"
changelog="https://github.com/akheron/jansson/raw/master/CHANGES"
distfiles="https://github.com/akheron/jansson/releases/download/v${version}/${pkgname}-${version}.tar.gz"
checksum=5798d010e41cf8d76b66236cfb2f2543c8d082181d16bc3085ab49538d4b9929
post_install() {
vlicense LICENSE
}
jansson-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}