mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
cec670c83c
closes #5266
37 lines
799 B
YAML
37 lines
799 B
YAML
distributable:
|
|
url: https://downloads.sourceforge.net/project/giflib/giflib-{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
url: https://sourceforge.net/projects/giflib/files
|
|
match: /giflib-\d+\.\d+\.\d+\.tar\.gz/
|
|
strip:
|
|
- /giflib-/
|
|
- /\.tar\.gz/
|
|
|
|
build:
|
|
dependencies:
|
|
gnu.org/patch: '*'
|
|
imagemagick.org: '*' # needs `convert`
|
|
script:
|
|
# the appears to be applied in 5.2.2
|
|
- run: |
|
|
if test {{ hw.platform }} = "darwin"; then
|
|
# needed to work on macOS
|
|
patch -p0 < props/Makefile.patch
|
|
fi
|
|
if: <5.2.2
|
|
|
|
- make --jobs {{ hw.concurrency }} all
|
|
- make install PREFIX="{{ prefix }}"
|
|
|
|
test: giftext fixture.gif
|
|
|
|
provides:
|
|
- bin/gif2rgb
|
|
- bin/gifbuild
|
|
- bin/gifclrmp
|
|
- bin/giffix
|
|
- bin/giftext
|
|
- bin/giftool
|