pantry/projects/gnu.org/libidn/package.yml
Max Howell 81e7a5e16f
pkgx
2023-10-01 14:44:42 -04:00

27 lines
512 B
YAML

distributable:
url: https://ftp.gnu.org/gnu/libidn/libidn-{{version.raw}}.tar.gz
strip-components: 1
versions:
url: https://ftp.gnu.org/gnu/libidn/
match: /libidn-(\d+\.\d+(\.\d+)?)\.tar\.gz/
strip:
- /libidn-/
- /.tar.gz/
build:
dependencies:
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"