2011-11-22 10:10:24 +00:00
|
|
|
# Template build for 'yajl'.
|
|
|
|
pkgname=yajl
|
2011-11-30 15:15:08 +00:00
|
|
|
version=2.0.2
|
|
|
|
__extraversion=5b0e7df
|
2013-03-12 22:57:36 +00:00
|
|
|
revision=2
|
2011-11-22 10:10:24 +00:00
|
|
|
build_style=cmake
|
2012-05-23 16:26:56 +00:00
|
|
|
makedepends="ruby cmake doxygen"
|
2011-11-30 15:15:08 +00:00
|
|
|
short_desc="Yet Another JSON Library"
|
2011-11-22 10:10:24 +00:00
|
|
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
|
|
|
license="ISC"
|
2013-03-12 22:57:36 +00:00
|
|
|
homepage="http://lloyd.github.com/yajl/"
|
|
|
|
distfiles="https://github.com/lloyd/${pkgname}/tarball/${version}/${pkgname}-${version}.tar.gz"
|
2011-11-30 15:15:08 +00:00
|
|
|
checksum=4917049b7700e289d38e0ac82f63b7182a5dfc6cf21c5eb9a26d70b6d2e7b68b
|
2011-11-22 10:10:24 +00:00
|
|
|
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}"
|
2013-04-14 16:44:52 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|