2012-12-30 00:17:05 +01:00
|
|
|
# Template file for 'jansson'
|
|
|
|
pkgname=jansson
|
2014-04-16 09:00:39 +02:00
|
|
|
version=2.6
|
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-04-16 09:00:39 +02:00
|
|
|
checksum=d2cc63ee7f6dcda6c9a8f0b558f94b8f25f048706b7cbd6a79d3e877b738cd4d
|
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() {
|
2014-04-16 09:00:39 +02:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
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
|
|
|
}
|
|
|
|
}
|