mirror of
https://github.com/ivabus/pantry
synced 2024-11-27 02:35:08 +03:00
44dba213e5
* update(aspell) * update(pango) * update(binutils) * update(gawk) * 11 more
47 lines
907 B
YAML
47 lines
907 B
YAML
distributable:
|
|
url: https://ftp.gnu.org/gnu/binutils/binutils-{{ version.raw }}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
url: https://ftp.gnu.org/gnu/binutils/
|
|
match: /binutils-\d+\.\d+(\.\d+)?.tar.gz/
|
|
strip:
|
|
- /binutils-/
|
|
- /.tar.gz/
|
|
|
|
build:
|
|
dependencies:
|
|
tea.xyz/gx/make: '*'
|
|
gnu.org/bison: '*'
|
|
gnu.org/texinfo: '*'
|
|
darwin:
|
|
tea.xyz/gx/cc: c99
|
|
linux:
|
|
gnu.org/gcc: '*'
|
|
script: |
|
|
./configure --prefix={{ prefix }}
|
|
make --jobs {{ hw.concurrency }}
|
|
make install
|
|
|
|
test:
|
|
script: objdump -x $(which objdump) | grep -s $TEST_STRING
|
|
env:
|
|
# Representitive output to look for
|
|
darwin:
|
|
TEST_STRING: _opendir
|
|
linux:
|
|
TEST_STRING: GNU_HASH
|
|
|
|
provides:
|
|
- bin/addr2line
|
|
- bin/ar
|
|
- bin/c++filt
|
|
- bin/elfedit
|
|
- bin/nm
|
|
- bin/objcopy
|
|
- bin/objdump
|
|
- bin/ranlib
|
|
- bin/readelf
|
|
- bin/size
|
|
- bin/strings
|
|
- bin/strip
|