2023-03-16 04:12:06 +03:00
|
|
|
distributable:
|
|
|
|
url: https://ftp.gnu.org/gnu/libiconv/libiconv-{{version.marketing}}.tar.gz
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
2023-05-01 20:14:59 +03:00
|
|
|
url: https://ftp.gnu.org/gnu/libiconv/
|
|
|
|
match: /libiconv-(\d+\.\d+(\.\d+)?)\.tar\.gz/
|
|
|
|
strip:
|
|
|
|
- /libiconv-/
|
|
|
|
- /.tar.gz/
|
2023-03-16 04:12:06 +03:00
|
|
|
|
|
|
|
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
|