2014-07-08 19:11:49 +00:00
|
|
|
# Template file for 'jq'
|
|
|
|
pkgname=jq
|
2015-08-17 10:26:17 +00:00
|
|
|
version=1.5
|
|
|
|
revision=1
|
|
|
|
wrksrc="${pkgname}-${pkgname}-${version}"
|
2014-07-08 19:11:49 +00:00
|
|
|
build_style=gnu-configure
|
2015-08-17 10:26:17 +00:00
|
|
|
hostmakedepends="automake libtool"
|
2014-07-08 19:11:49 +00:00
|
|
|
short_desc="Command-line JSON processor"
|
|
|
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
2015-08-17 10:26:17 +00:00
|
|
|
license="MIT"
|
2014-07-08 19:11:49 +00:00
|
|
|
homepage="http://stedolan.github.io/jq/"
|
2015-08-17 10:26:17 +00:00
|
|
|
distfiles="https://github.com/stedolan/${pkgname}/archive/${pkgname}-${version}.tar.gz"
|
|
|
|
checksum=d644aded536167e0cb7e3547d13decf0000312b5ed8e75be8f053b0ecdf39d83
|
2014-07-08 19:11:49 +00:00
|
|
|
|
2015-08-17 10:26:17 +00:00
|
|
|
post_extract() {
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
2014-07-08 19:11:49 +00:00
|
|
|
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
|
|
|
}
|