pantry/projects/gnu.org/tar/package.yml
2022-11-03 18:10:02 +00:00

26 lines
543 B
YAML

distributable:
url: https://ftp.gnu.org/gnu/tar/tar-{{ version.raw }}.tar.gz
strip-components: 1
versions:
- 1.34
#TODO scrape https://ftp.gnu.org/gnu/tar/
provides:
- bin/tar
build:
dependencies:
tea.xyz/gx/cc: 'c99'
tea.xyz/gx/make: '*'
script: |
./configure --prefix={{ prefix }} --disable-debug
make --jobs {{ hw.concurrency }} install
env:
#FIXME for our docker images, but we should make a `build` user for those
FORCE_UNSAFE_CONFIGURE: 1
test:
script:
tar czvf test.tar.gz {{ prefix }}