mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 10:35:17 +03:00
48e9f14b30
closes #2620
33 lines
710 B
YAML
33 lines
710 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 }}
|
|
- --with-libiconv-prefix={{ deps.gnu.org/libiconv.prefix }}
|
|
|
|
test:
|
|
script:
|
|
tar czvf test.tar.gz {{ prefix }}
|