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

31 lines
668 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:
script:
tar czvf test.tar.gz {{ prefix }}