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

38 lines
No EOL
817 B
YAML

distributable:
url: https://github.com/openslide/openslide/releases/download/v3.4.1/openslide-3.4.1.tar.xz
strip-components: 1
versions:
github: openslide/openslide
dependencies:
cairographics.org: '*'
gnome.org/gdk-pixbuf: '*'
gnome.org/glib: '*'
libjpeg-turbo.org: '*'
libpng.org: '*'
simplesystems.org/libtiff: '*'
gnome.org/libxml2: '*'
openjpeg.org: '*'
sqlite.org: '*'
build:
dependencies:
freedesktop.org/pkg-config: '*'
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }} install
env:
ARGS:
- --prefix="{{prefix}}"
provides:
- bin/openslide-quickhash1sum
- bin/openslide-show-properties
- bin/openslide-write-png
test:
dependencies:
freedesktop.org/pkg-config: '*'
script:
pkg-config --modversion openslide | grep {{version}}