26 lines
675 B
Bash
26 lines
675 B
Bash
# Template file for 'jansson'
|
|
pkgname=jansson
|
|
version=2.7
|
|
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=459f2b7cf22fb676286723f26169a17cf111fbfb6f54e3dc2ec6b6f9f4a97bdc
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
jansson-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|