void-packages/srcpkgs/yajl/template
2014-02-14 14:49:30 +01:00

30 lines
656 B
Text

# Template build for 'yajl'.
pkgname=yajl
version=2.0.4
revision=2
build_style=cmake
hostmakedepends="ruby cmake doxygen"
short_desc="Yet Another JSON Library"
maintainer="davehome <davehome@redthumb.info.tm>"
license="ISC"
homepage="http://lloyd.github.com/yajl/"
do_fetch() {
git clone -b${version} git://github.com/lloyd/yajl.git yajl-${version}
}
post_install() {
vmkdir usr/lib
mv ${DESTDIR}/usr/share/pkgconfig ${DESTDIR}/usr/lib
}
yajl-devel_package() {
depends="yajl>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/include
}
}