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