mirror of
https://github.com/ivabus/pantry
synced 2024-11-30 04:05:06 +03:00
32 lines
840 B
YAML
32 lines
840 B
YAML
|
distributable:
|
|||
|
url: https://cytranet.dl.sourceforge.net/project/libpng/libpng{{ version.major }}{{ version.minor }}/{{ version }}/libpng-{{ version }}.tar.xz
|
|||
|
#FIXME our linux docker image TLS doesn’t like this URL
|
|||
|
# url: https://downloads.sourceforge.net/project/libpng/libpng{{ version.major }}{{ version.minor }}/{{ version }}/libpng-{{ version }}.tar.xz
|
|||
|
strip-components: 1
|
|||
|
|
|||
|
versions:
|
|||
|
github: glennrp/libpng
|
|||
|
strip: /^libpng-/
|
|||
|
|
|||
|
dependencies:
|
|||
|
zlib.net: 1
|
|||
|
|
|||
|
build:
|
|||
|
dependencies:
|
|||
|
tea.xyz/gx/cc: c99
|
|||
|
tea.xyz/gx/make: '*'
|
|||
|
script: |-
|
|||
|
./configure \
|
|||
|
--disable-dependency-tracking \
|
|||
|
--disable-silent-rules \
|
|||
|
--prefix {{ prefix }}
|
|||
|
make --jobs {{ hw.concurrency }}
|
|||
|
make install
|
|||
|
|
|||
|
test:
|
|||
|
dependencies:
|
|||
|
tea.xyz/gx/cc: c99
|
|||
|
script: |
|
|||
|
cc {{ pkg.pantry-prefix }}/test.c -lpng
|
|||
|
./a.out
|