3 PNG_URL
:= $(SF
)/libpng
/libpng16
/$(PNG_VERSION
)/libpng-
$(PNG_VERSION
).
tar.xz
6 ifeq ($(call need_pkg
,"libpng >= 1.5.4"),)
10 $(TARBALLS
)/libpng-
$(PNG_VERSION
).
tar.xz
:
11 $(call download_pkg
,$(PNG_URL
),png
)
13 .sum-png
: libpng-
$(PNG_VERSION
).
tar.xz
15 png
: libpng-
$(PNG_VERSION
).
tar.xz .sum-png
17 $(APPLY
) $(SRC
)/png
/winrt.patch
18 $(APPLY
) $(SRC
)/png
/bins.patch
19 $(APPLY
) $(SRC
)/png
/automake.patch
20 $(call pkg_static
,"libpng.pc.in")
23 DEPS_png
= zlib
$(DEPS_zlib
)
27 cd
$< && $(HOSTVARS
) .
/configure
$(HOSTCONF
)
28 cd
$< && $(MAKE
) install