void-packages/srcpkgs/jansson/template

27 lines
709 B
Text
Raw Normal View History

2012-12-29 23:17:05 +00:00
# Template file for 'jansson'
pkgname=jansson
2014-04-16 07:00:39 +00:00
version=2.6
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"
2014-04-16 07:00:39 +00:00
checksum=d2cc63ee7f6dcda6c9a8f0b558f94b8f25f048706b7cbd6a79d3e877b738cd4d
2012-12-29 23:17:05 +00:00
post_install() {
vinstall LICENSE 644 usr/share/licenses/${pkgname}
}
jansson-devel_package() {
2014-04-16 07:00:39 +00:00
depends="${sourcepkg}>=${version}_${revision}"
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"
}
}