29 lines
958 B
Bash
29 lines
958 B
Bash
# Template file for 'hurl'
|
|
pkgname=hurl
|
|
version=4.3.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=499f2430ee6b73b0414ab8aa3c9298be8276e7b404b13c76e4c02a86eb1db9cd
|
|
|
|
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
|
|
}
|