void-packages/srcpkgs/jq/template
Christian Neukirchen ce695a130c jq: rebuild with oniguruma.
Fixes #3305.
2016-01-05 14:12:26 +01:00

31 lines
817 B
Bash

# Template file for 'jq'
pkgname=jq
version=1.5
revision=2
wrksrc="${pkgname}-${pkgname}-${version}"
build_style=gnu-configure
hostmakedepends="automake libtool"
makedepends="oniguruma-devel"
short_desc="Command-line JSON processor"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="MIT"
homepage="http://stedolan.github.io/jq/"
distfiles="https://github.com/stedolan/${pkgname}/archive/${pkgname}-${version}.tar.gz"
checksum=d644aded536167e0cb7e3547d13decf0000312b5ed8e75be8f053b0ecdf39d83
post_extract() {
autoreconf -fi
}
post_install() {
rm -r ${DESTDIR}/usr/share/doc/$pkgname
vlicense COPYING
}
jq-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so*"
}
}