Skip to content

Commit

Permalink
+libidn2
Browse files Browse the repository at this point in the history
ref #99
  • Loading branch information
jhheider committed Feb 6, 2023
1 parent fc98aa5 commit 81b20f7
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions projects/gnu.org/libidn2/package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
distributable:
url: https://ftp.gnu.org/gnu/libidn/libidn2-{{ version.raw }}.tar.gz
strip-components: 1

versions:
#TODO HTML listing: https://ftp.gnu.org/gnu/libidn/
- 2.3.4

build:
dependencies:
tea.xyz/gx/make: '*'
tea.xyz/gx/cc: c99
gnu.org/gettext: '*'
gnu.org/texinfo: '*'
freedesktop.org/pkg-config: '*'
script: |
./configure --prefix={{ prefix }}
make install
test:
script: |
test "$(idn2 ""$IN1"")" = "$OUT1"
test "$(idn2 ""$IN2"")" = "$OUT2"
env:
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

0 comments on commit 81b20f7

Please sign in to comment.