void-packages/srcpkgs/yajl/template
2015-07-25 23:03:02 +02:00

28 lines
701 B
Bash

# Template build for 'yajl'.
pkgname=yajl
version=2.1.0
revision=2
build_style=cmake
hostmakedepends="ruby cmake doxygen"
short_desc="Yet Another JSON Library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="ISC"
homepage="http://lloyd.github.io/yajl/"
distfiles="https://github.com/lloyd/yajl/archive/$version.tar.gz"
checksum=3fb73364a5a30efe615046d07e6db9d09fd2b41c763c5f7d3bfb121cd5c5ac5a
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
}
}