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

43 lines
891 B
YAML

distributable:
url: https://github.com/libgd/libgd/releases/download/gd-{{ version }}/libgd-{{ version }}.tar.gz
strip-components: 1
versions:
github: libgd/libgd
strip: /^gd-/
dependencies:
freedesktop.org/fontconfig: '*'
freetype.org: '*'
libjpeg-turbo.org: '*'
github.com/AOMediaCodec/libavif: '*'
libpng.org: '*'
simplesystems.org/libtiff: '*'
google.com/webp: '*'
zlib.net: '*'
build:
dependencies:
gnu.org/autoconf: '*'
gnu.org/libtool: '*'
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }} install
env:
ARGS:
- --disable-dependency-tracking
- --prefix="{{prefix}}"
- --with-zlib
provides:
- bin/bdftogd
- bin/gd2copypal
- bin/gd2togif
- bin/gdcmpgif
- bin/giftogd2
test:
dependencies:
freedesktop.org/pkg-config: '*'
script:
pkg-config --modversion gdlib | grep {{version.raw}}