mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
36 lines
No EOL
709 B
YAML
36 lines
No EOL
709 B
YAML
distributable:
|
|
url: https://ftp.gnu.org/gnu/libidn/libidn2-{{ version.raw }}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
url: https://ftp.gnu.org/gnu/libidn/
|
|
match: /libidn2-\d+\.\d+(\.\d+)?\.tar\.gz/
|
|
strip:
|
|
- /libidn2-/
|
|
- /.tar.gz/
|
|
|
|
dependencies:
|
|
gnu.org/gettext: '*'
|
|
|
|
build:
|
|
dependencies:
|
|
gnu.org/texinfo: '*'
|
|
freedesktop.org/pkg-config: '*'
|
|
script: |
|
|
./configure --prefix={{ prefix }}
|
|
make install
|
|
|
|
test:
|
|
script: |
|
|
test "$(idn2 ""$IN1"")" = "$OUT1"
|
|
test "$(idn2 ""$IN2"")" = "$OUT2"
|
|
env:
|
|
linux:
|
|
LC_ALL: C.UTF-8
|
|
IN1: räksmörgås.se
|
|
IN2: blåbærgrød.no
|
|
OUT1: xn--rksmrgs-5wao1o.se
|
|
OUT2: xn--blbrgrd-fxak7p.no
|
|
|
|
provides:
|
|
- bin/idn2 |