29 lines
958 B
Bash
29 lines
958 B
Bash
# Template file for 'hurl'
|
|
pkgname=hurl
|
|
version=5.0.1
|
|
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=2b5a42fc95b74c876257a35d13b603e06f1f2c58e0ca44a2c0bb23d023227c29
|
|
|
|
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
|
|
}
|