New package: cJSON-1.7.6

Closes: #13809 [via git-merge-pr]
This commit is contained in:
maxice8 2018-04-24 16:02:14 -03:00 committed by lemmi
parent b75c86966e
commit 22b8f872ab
2 changed files with 23 additions and 0 deletions

1
srcpkgs/cJSON-devel Symbolic link
View file

@ -0,0 +1 @@
cJSON

22
srcpkgs/cJSON/template Normal file
View file

@ -0,0 +1,22 @@
# Template file for 'cJSON'
pkgname=cJSON
version=1.7.6
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=d1ca2665b34fea164a877637b4ad1624aa23390fe75de91b88e18c5d6ec91978
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"
}
}