mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
+optipng
This commit is contained in:
parent
193e32c406
commit
0cdb1a16e8
2 changed files with 30 additions and 0 deletions
30
projects/sf.net/optipng/package.yml
Normal file
30
projects/sf.net/optipng/package.yml
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
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:
|
||||||
|
dependencies:
|
||||||
|
tea.xyz/gx/cc: c99
|
||||||
|
tea.xyz/gx/make: '*'
|
||||||
|
script:
|
||||||
|
- ./configure
|
||||||
|
--with-system-zlib
|
||||||
|
--with-system-libpng
|
||||||
|
--prefix={{prefix}}
|
||||||
|
- make --jobs {{ hw.concurrency }} install
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/optipng
|
||||||
|
|
||||||
|
test:
|
||||||
|
optipng -simulate test.png
|
BIN
projects/sf.net/optipng/test.png
Normal file
BIN
projects/sf.net/optipng/test.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 82 B |
Loading…
Reference in a new issue