void-packages/srcpkgs/yajl/template

29 lines
712 B
Bash

# Template file for 'yajl'
pkgname=yajl
version=2.1.0
revision=4
build_style=cmake
hostmakedepends="ruby doxygen"
short_desc="Yet Another JSON Library"
maintainer="Orphaned <orphan@voidlinux.org>"
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
vlicense COPYING
}
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
}
}