2012-12-30 00:17:05 +01:00
|
|
|
# Template file for 'jansson'
|
|
|
|
pkgname=jansson
|
|
|
|
version=2.4
|
|
|
|
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}
|
|
|
|
}
|
2013-04-12 16:52:48 +02:00
|
|
|
|
|
|
|
jansson-devel_package() {
|
|
|
|
depends="${sourcepkg}>=${version}"
|
|
|
|
short_desc="${short_desc} -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
jansson_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|