mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 10:35:17 +03:00
38e3eab6c3
closes #2606
34 lines
734 B
YAML
34 lines
734 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: '*'
|
|
gnu.org/libiconv: '*'
|
|
script: |
|
|
./configure $ARGS
|
|
make -v --jobs {{ hw.concurrency }} install
|
|
env:
|
|
#FIXME for our docker images, but we should make a `build` user for those
|
|
FORCE_UNSAFE_CONFIGURE: 1
|
|
ARGS:
|
|
- --prefix={{ prefix }}
|
|
- --disable-debug
|
|
- --with-libiconv-prefix={{ deps.gnu.org/libiconv.prefix }}
|
|
|
|
test:
|
|
script:
|
|
tar czvf test.tar.gz {{ prefix }}
|