pantry/projects/gnu.org/tar/package.yml
2023-10-01 20:41:57 -04:00

29 lines
654 B
YAML

distributable:
url: https://ftp.gnu.org/gnu/tar/tar-{{ version.raw }}.tar.gz
strip-components: 1
versions:
url: https://ftp.gnu.org/gnu/tar/
match: /tar-(\d+\.\d+(\.\d+)?)\.tar\.gz/
strip:
- /tar-/
- /.tar.gz/
provides:
- bin/tar
build:
dependencies:
# needed when we patch Makefile.am
gnu.org/patch: '*'
gnu.org/autoconf: '*'
gnu.org/automake: '*'
script:
# https://savannah.gnu.org/bugs/index.php?64441
- run: patch -p1 <props/iconv.patch
if: =1.35.0
- ./configure --prefix={{ prefix }} --disable-debug
- make --jobs {{ hw.concurrency }} install
test: tar czvf test.tar.gz {{ prefix }}