diff --git a/projects/gnu.org/libidn/package.yml b/projects/gnu.org/libidn/package.yml new file mode 100644 index 00000000..c86ca652 --- /dev/null +++ b/projects/gnu.org/libidn/package.yml @@ -0,0 +1,24 @@ +distributable: + url: https://ftp.gnu.org/gnu/libidn/libidn-{{version.raw}}.tar.gz + strip-components: 1 + +versions: + - 1.41 + +build: + dependencies: + tea.xyz/gx/cc: c99 + tea.xyz/gx/make: '*' + freedesktop.org/pkg-config: ^0.29 + script: | + ./configure --prefix="{{prefix}}" + make --jobs {{ hw.concurrency }} install + +provides: + - bin/idn + +test: + env: + CHARSET: UTF-8 + script: + idn "räksmörgås.se" "blåbærgrød.no"