mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 18:45:19 +03:00
33 lines
600 B
YAML
33 lines
600 B
YAML
|
distributable:
|
||
|
url: https://ftp.gnu.org/gnu/libiconv/libiconv-{{version.marketing}}.tar.gz
|
||
|
strip-components: 1
|
||
|
|
||
|
versions:
|
||
|
- 1.17.0 # fix
|
||
|
|
||
|
build:
|
||
|
dependencies:
|
||
|
tea.xyz/gx/cc: c99
|
||
|
tea.xyz/gx/make: '*'
|
||
|
script: |
|
||
|
./configure $ARGS
|
||
|
make --jobs {{ hw.concurrency }}
|
||
|
make install
|
||
|
env:
|
||
|
ARGS:
|
||
|
- --prefix="{{prefix}}"
|
||
|
- --disable-debug
|
||
|
- --disable-dependency-tracking
|
||
|
- --enable-extra-encodings
|
||
|
- --enable-static
|
||
|
|
||
|
provides:
|
||
|
- bin/iconv
|
||
|
|
||
|
test:
|
||
|
dependencies:
|
||
|
tea.xyz/gx/cc: c99
|
||
|
script: |
|
||
|
g++ -std=c++11 test.cc -liconv
|
||
|
./a.out
|