pantry/projects/gnu.org/wget/package.yml
Max Howell 81e7a5e16f
pkgx
2023-10-01 14:44:42 -04:00

35 lines
613 B
YAML

distributable:
url: https://ftp.gnu.org/gnu/wget/wget-{{version}}.tar.gz
strip-components: 1
versions:
url: https://ftp.gnu.org/gnu/wget/
match: /wget-(\d+\.\d+(\.\d+)?)\.tar\.gz/
strip:
- /wget-/
- /.tar.gz/
provides:
- bin/wget
dependencies:
openssl.org: ^1.1
build:
dependencies:
freedesktop.org/pkg-config: ^0.29
script: |
./configure $ARGS
make --jobs {{hw.concurrency}} install
env:
ARGS:
- --prefix={{prefix}}
- --disable-pcre
- --disable-pcre2
- --without-libps1
- --without-included-regex
- --with-ssl=openssl
test:
wget tea.xyz