mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 10:35:17 +03:00
27 lines
551 B
YAML
27 lines
551 B
YAML
distributable:
|
|
url: https://downloads.sourceforge.net/project/optipng/OptiPNG/optipng-{{version}}/optipng-{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
url: https://sourceforge.net/projects/optipng/files/OptiPNG/
|
|
match: /optipng-\d+.\d+\.\d+/
|
|
strip:
|
|
- /^optipng-/
|
|
|
|
dependencies:
|
|
libpng.org: ^1
|
|
zlib.net: ^1
|
|
|
|
build:
|
|
script:
|
|
- ./configure
|
|
--with-system-zlib
|
|
--with-system-libpng
|
|
--prefix={{prefix}}
|
|
- make --jobs {{ hw.concurrency }} install
|
|
|
|
provides:
|
|
- bin/optipng
|
|
|
|
test: optipng -simulate test.png
|