void-packages/srcpkgs/jansson/template

31 lines
742 B
Text

# Template file for 'jansson'
pkgname=jansson
version=2.4
revision=1
build_style=gnu-configure
short_desc="Library for encoding, decoding and manipulating JSON data"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"
homepage="http://www.digip.org/jansson/"
distfiles="http://www.digip.org/jansson/releases/jansson-${version}.tar.bz2"
checksum=de589151586e0766a08921f3167953a3ed62079be828bcc949cd9b2b6dcfaf90
post_install() {
vinstall LICENSE 644 usr/share/licenses/${pkgname}
}
jansson-devel_package() {
depends="${sourcepkg}>=${version}"
short_desc="${short_desc} -- development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
}
}
jansson_package() {
pkg_install() {
vmove usr
}
}