bc3b5729f5
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
34 lines
831 B
Bash
34 lines
831 B
Bash
# Template file for 'jq'
|
|
pkgname=jq
|
|
version=1.6
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake libtool"
|
|
makedepends="oniguruma-devel"
|
|
checkdepends="valgrind"
|
|
short_desc="Command-line JSON processor"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="MIT"
|
|
homepage="http://stedolan.github.io/jq/"
|
|
distfiles="https://github.com/stedolan/jq/releases/download/jq-${version}/jq-${version}.tar.gz"
|
|
checksum=9625784cf2e4fd9842f1d407681ce4878b5b0dcddbcd31c6135114a30c71e6a8
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
echo "echo $version" >scripts/version
|
|
}
|
|
|
|
post_install() {
|
|
rm -rf ${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*
|
|
}
|
|
}
|