void-packages/srcpkgs/jansson/template

27 lines
675 B
Text
Raw Normal View History

2012-12-29 23:17:05 +00:00
# Template file for 'jansson'
pkgname=jansson
2014-10-19 06:02:03 +00:00
version=2.7
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-10-19 06:02:03 +00:00
checksum=459f2b7cf22fb676286723f26169a17cf111fbfb6f54e3dc2ec6b6f9f4a97bdc
2012-12-29 23:17:05 +00:00
post_install() {
2014-10-19 06:02:03 +00:00
vlicense LICENSE
2012-12-29 23:17:05 +00:00
}
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"
}
}