void-packages/srcpkgs/jansson/template
2013-09-30 09:12:44 +02:00

32 lines
752 B
Text

# Template file for 'jansson'
pkgname=jansson
version=2.5
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=262f5a3e9ad8f5d8b3c8683e8c57b5148ff0ad97cfe3d6f10b8b15ece126e4c7
post_install() {
vinstall LICENSE 644 usr/share/licenses/${pkgname}
}
jansson-devel_package() {
depends="${sourcepkg}>=${version}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}
jansson_package() {
pkg_install() {
vmove all
}
}