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"
|
2013-09-30 09:12:44 +02:00
|
|
|
checksum=262f5a3e9ad8f5d8b3c8683e8c57b5148ff0ad97cfe3d6f10b8b15ece126e4c7
|
2012-12-30 00:17:05 +01:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vinstall LICENSE 644 usr/share/licenses/${pkgname}
|
|
|
|
}
|
2013-04-12 16:52:48 +02:00
|
|
|
|
|
|
|
jansson-devel_package() {
|
|
|
|
depends="${sourcepkg}>=${version}"
|
2013-09-30 09:12:20 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 16:52:48 +02:00
|
|
|
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"
|
2013-04-12 16:52:48 +02:00
|
|
|
}
|
|
|
|
}
|