29 lines
958 B
Bash
29 lines
958 B
Bash
# Template file for 'hurl'
|
|
pkgname=hurl
|
|
version=4.1.0
|
|
revision=1
|
|
build_style=cargo
|
|
make_check_args="-- --skip=runner::hurl_file::run --skip=http::tests::libcurl
|
|
--skip=simple sample"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="openssl-devel libcurl-devel libxml2-devel"
|
|
short_desc="CLI to run HTTP requests defined in a simple plain text format"
|
|
maintainer="icp <pangolin@vivaldi.net>"
|
|
license="Apache-2.0"
|
|
homepage="https://hurl.dev"
|
|
changelog="https://raw.githubusercontent.com/Orange-OpenSource/hurl/master/CHANGELOG.md"
|
|
distfiles="https://github.com/Orange-OpenSource/hurl/archive/refs/tags/${version}.tar.gz"
|
|
checksum=3356f64158e6dc5f2e29c37eee80a43332b1734baa7380356affeb5160ffca09
|
|
|
|
if [[ "$XBPS_WORDSIZE" -eq 32 ]]; then
|
|
make_check=no # https://github.com/Orange-OpenSource/hurl/issues/1220
|
|
fi
|
|
|
|
do_install() {
|
|
vbin target/${RUST_TARGET}/release/hurl
|
|
vbin target/${RUST_TARGET}/release/hurlfmt
|
|
|
|
vman docs/manual/hurl.1
|
|
vman docs/manual/hurlfmt.1
|
|
}
|