pantry/projects/sourceforge.net/libmng/package.yml
Max Howell 81e7a5e16f
pkgx
2023-10-01 14:44:42 -04:00

32 lines
735 B
YAML

distributable:
url: https://downloads.sourceforge.net/project/libmng/libmng-devel/{{version}}/libmng-{{version}}.tar.gz
strip-components: 1
versions:
url: https://sourceforge.net/projects/libmng/files/libmng-devel/
match: _/projects/libmng/files/libmng-devel/\d+.\d+.\d+/_
strip:
- _^/projects/libmng/files/libmng-devel/_
- _/$_
dependencies:
libjpeg-turbo.org: '*'
littlecms.com: '>=2.0.0'
zlib.net: '*'
build:
dependencies:
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }} install
env:
ARGS:
- --prefix="{{prefix}}"
- --disable-silent-rules
test:
dependencies:
freedesktop.org/pkg-config: '*'
script:
pkg-config --modversion libmng | grep {{version}}