36 lines
914 B
Plaintext
36 lines
914 B
Plaintext
# Template build file for 'json-c'.
|
|
pkgname=json-c
|
|
version=0.9
|
|
revision=3
|
|
build_style=gnu-configure
|
|
short_desc="A JSON implementation in C"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="MIT"
|
|
homepage="http://oss.metaparadigm.com/$pkgname"
|
|
distfiles="$homepage/$pkgname-$version.tar.gz"
|
|
checksum=702a486c9bf8e19137d484ab5c49b4ad314eb5e1fe37062a72c0a0fa39439475
|
|
long_desc="
|
|
JSON-C implements a reference counting object model that allows you to easily
|
|
construct JSON objects in C, output them as JSON formatted strings and parse
|
|
JSON formatted strings back into the C representation of JSON objects."
|
|
|
|
post_install() {
|
|
vinstall COPYING 644 usr/share/licenses/${pkgname}
|
|
}
|
|
|
|
json-c-devel_package() {
|
|
depends="json-c>=${version}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.a"
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|
|
|
|
json-c_package() {
|
|
pkg_install() {
|
|
vmove usr
|
|
}
|
|
}
|