void-packages/srcpkgs/jansson/template

27 lines
675 B
Plaintext
Raw Normal View History

2012-12-30 00:17:05 +01:00
# Template file for 'jansson'
pkgname=jansson
2014-10-19 08:02:03 +02:00
version=2.7
2012-12-30 00:17:05 +01: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 08:02:03 +02:00
checksum=459f2b7cf22fb676286723f26169a17cf111fbfb6f54e3dc2ec6b6f9f4a97bdc
2012-12-30 00:17:05 +01:00
post_install() {
2014-10-19 08:02:03 +02:00
vlicense LICENSE
2012-12-30 00:17:05 +01:00
}
jansson-devel_package() {
2014-04-16 09:00:39 +02:00
depends="${sourcepkg}>=${version}_${revision}"
2013-09-30 09:12:20 +02:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
2013-09-30 09:12:20 +02:00
vmove "usr/lib/*.so"
}
}