void-packages/srcpkgs/jansson/template

33 lines
752 B
Plaintext
Raw Normal View History

2012-12-30 00:17:05 +01:00
# Template file for 'jansson'
pkgname=jansson
2013-09-30 09:12:20 +02:00
version=2.5
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"
checksum=de589151586e0766a08921f3167953a3ed62079be828bcc949cd9b2b6dcfaf90
post_install() {
vinstall LICENSE 644 usr/share/licenses/${pkgname}
}
jansson-devel_package() {
depends="${sourcepkg}>=${version}"
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"
}
}
jansson_package() {
pkg_install() {
2013-09-30 09:12:20 +02:00
vmove all
}
}