void-packages/srcpkgs/jansson/template

33 lines
752 B
Text
Raw Normal View History

2012-12-29 23:17:05 +00:00
# Template file for 'jansson'
pkgname=jansson
2013-09-30 07:12:20 +00:00
version=2.5
2012-12-29 23:17:05 +00:00
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"
2013-09-30 07:12:44 +00:00
checksum=262f5a3e9ad8f5d8b3c8683e8c57b5148ff0ad97cfe3d6f10b8b15ece126e4c7
2012-12-29 23:17:05 +00:00
post_install() {
vinstall LICENSE 644 usr/share/licenses/${pkgname}
}
jansson-devel_package() {
depends="${sourcepkg}>=${version}"
2013-09-30 07:12:20 +00:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
2013-09-30 07:12:20 +00:00
vmove "usr/lib/*.so"
}
}
jansson_package() {
pkg_install() {
2013-09-30 07:12:20 +00:00
vmove all
}
}