pantry/projects/gnu.org/tar/package.yml
Jacob Heider 994cadf1e2
fix(tar)[2] (#2621)
* fix(tar)[2]

what's happening here?

* this is the actual fix

h/t: https://savannah.gnu.org/bugs/index.php?64441
2023-07-18 21:07:21 -04:00

33 lines
718 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:
tea.xyz/gx/cc: 'c99'
tea.xyz/gx/make: '*'
# 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 }}