void-packages/srcpkgs/yajl/template

34 lines
881 B
Plaintext

# Template build for 'yajl'.
pkgname=yajl
version=2.0.2
__extraversion=5b0e7df
revision=2
build_style=cmake
makedepends="ruby cmake doxygen"
short_desc="Yet Another JSON Library"
maintainer="davehome <davehome@redthumb.info.tm>"
license="ISC"
homepage="http://lloyd.github.com/yajl/"
distfiles="https://github.com/lloyd/${pkgname}/tarball/${version}/${pkgname}-${version}.tar.gz"
checksum=4917049b7700e289d38e0ac82f63b7182a5dfc6cf21c5eb9a26d70b6d2e7b68b
long_desc="
YAJL is a small event-driven (SAX-style) JSON parser written in ANSI C, and a
small validating JSON generator. YAJL is released under the ISC license."
wrksrc="lloyd-${pkgname}-${__extraversion}"
yajl-devel_package() {
depends="yajl>=${version}"
short_desc="${short_desc} - development files"
pkg_install() {
vmove "usr/lib/*.a"
vmove usr/include
}
}
yajl_package() {
pkg_install() {
vmove usr
}
}