30 lines
719 B
Bash
30 lines
719 B
Bash
# Template build for 'yajl'.
|
|
pkgname=yajl
|
|
version=2.1.0
|
|
revision=3
|
|
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
|
|
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
|
|
}
|
|
}
|