mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
31 lines
611 B
YAML
31 lines
611 B
YAML
distributable:
|
|
url: https://ftp.gnu.org/gnu/libiconv/libiconv-{{version.marketing}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
url: https://ftp.gnu.org/gnu/libiconv/
|
|
match: /libiconv-(\d+\.\d+(\.\d+)?)\.tar\.gz/
|
|
strip:
|
|
- /libiconv-/
|
|
- /.tar.gz/
|
|
|
|
build:
|
|
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:
|
|
script: |
|
|
g++ -std=c++11 test.cc -liconv
|
|
./a.out
|