pantry/projects/gnu.org/tar/package.yml
2022-08-17 08:22:22 -04:00

22 lines
520 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/
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 }}