2014-07-08 19:11:49 +00:00
|
|
|
# Template file for 'jq'
|
|
|
|
pkgname=jq
|
|
|
|
version=1.4
|
|
|
|
revision=1
|
|
|
|
build_style=gnu-configure
|
|
|
|
short_desc="Command-line JSON processor"
|
|
|
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
|
|
|
license="custom"
|
|
|
|
homepage="http://stedolan.github.io/jq/"
|
2014-10-31 14:27:14 +00:00
|
|
|
update_site="http://stedolan.github.io/jq/download/"
|
2014-07-08 19:11:49 +00:00
|
|
|
distfiles="http://stedolan.github.io/jq/download/source/${pkgname}-${version}.tar.gz"
|
|
|
|
checksum=998c41babeb57b4304e65b4eb73094279b3ab1e63801b6b4bddd487ce009b39d
|
|
|
|
|
|
|
|
post_install() {
|
2014-11-23 14:24:36 +00:00
|
|
|
rm -r ${DESTDIR}/usr/share/doc/$pkgname
|
|
|
|
vlicense COPYING
|
2014-07-08 19:11:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
jq-devel_package() {
|
2014-11-23 14:24:36 +00:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
short_desc+=" -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove "usr/lib/*.so*"
|
|
|
|
}
|
2014-07-08 19:11:49 +00:00
|
|
|
}
|