ed0c0fa8b8
Closes #14621. Signed-off-by: Enno Boland <gottox@voidlinux.eu>
26 lines
647 B
Bash
26 lines
647 B
Bash
# Template file for 'cJSON'
|
|
pkgname=cJSON
|
|
version=1.7.7
|
|
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"
|
|
checksum=6eb9d852a97ffbe149e747f54d63e39a674fa248bb24902a14c079803067949a
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
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"
|
|
}
|
|
}
|