void-packages/srcpkgs/jansson/template
2017-03-03 09:18:33 +00:00

26 lines
679 B
Bash

# Template file for 'jansson'
pkgname=jansson
version=2.10
revision=1
build_style=gnu-configure
short_desc="Library for encoding, decoding and manipulating JSON data"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="http://www.digip.org/jansson/"
distfiles="http://www.digip.org/jansson/releases/jansson-${version}.tar.bz2"
checksum=241125a55f739cd713808c4e0089986b8c3da746da8b384952912ad659fa2f5a
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"
}
}