2018-04-24 21:02:14 +02:00
|
|
|
# Template file for 'cJSON'
|
|
|
|
pkgname=cJSON
|
2018-09-21 21:13:41 +02:00
|
|
|
version=1.7.8
|
2018-04-24 21:02:14 +02:00
|
|
|
revision=1
|
|
|
|
build_style=cmake
|
|
|
|
short_desc="Ultralightweight JSON parser in ANSI C"
|
|
|
|
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
|
|
|
license="MIT"
|
|
|
|
homepage="https://github.com/DaveGamble/cJSON"
|
|
|
|
distfiles="https://github.com/DaveGamble/cJSON/archive/v${version}.tar.gz"
|
2018-09-21 21:13:41 +02:00
|
|
|
checksum=e2544bd48d98005b1d0f7dc8a02e1559f9d303b9d8120f130362a40b548bcfcd
|
2018-05-22 04:27:31 +02:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|
2018-04-24 21:02:14 +02:00
|
|
|
|
|
|
|
cJSON-devel_package() {
|
|
|
|
depends="cJSON-${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/lib/cmake
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
}
|
2018-05-22 04:27:31 +02:00
|
|
|
}
|