Mercurial > mxe-octave
comparison src/libpng.mk @ 4464:ff4447e86c50
libpng: update to v1.6.32, add target link to config
* src/libpng.mk: update version, checksum, in non natibe build
create sym link to libpng-config, use MXE_DISABLE_DOCS, MXE_DISABLE_PROGS
in make defs
author | John D |
---|---|
date | Tue, 29 Aug 2017 09:46:01 -0400 |
parents | ad69819c74e7 |
children | 2d8073430c9a |
comparison
equal
deleted
inserted
replaced
4458:8f0a309bf280 | 4464:ff4447e86c50 |
---|---|
1 # This file is part of MXE. | 1 # This file is part of MXE. |
2 # See index.html for further information. | 2 # See index.html for further information. |
3 | 3 |
4 PKG := libpng | 4 PKG := libpng |
5 $(PKG)_IGNORE := | 5 $(PKG)_IGNORE := |
6 $(PKG)_VERSION := 1.6.31 | 6 $(PKG)_VERSION := 1.6.32 |
7 $(PKG)_CHECKSUM := de695064363df331734466981ef7f6546ef516bf | 7 $(PKG)_CHECKSUM := 161d91d15cfd739773e0a73b41032b9f27322914 |
8 $(PKG)_SUBDIR := libpng-$($(PKG)_VERSION) | 8 $(PKG)_SUBDIR := libpng-$($(PKG)_VERSION) |
9 $(PKG)_FILE := libpng-$($(PKG)_VERSION).tar.xz | 9 $(PKG)_FILE := libpng-$($(PKG)_VERSION).tar.xz |
10 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)$(subst .,,$(call SHORT_PKG_VERSION,$(PKG)))/$($(PKG)_VERSION)/$($(PKG)_FILE) | 10 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)$(subst .,,$(call SHORT_PKG_VERSION,$(PKG)))/$($(PKG)_VERSION)/$($(PKG)_FILE) |
11 $(PKG)_URL_2 := ftp://ftp.simplesystems.org/pub/$(PKG)/png/src/$(PKG)$(subst .,,$(call SHORT_PKG_VERSION,$(PKG)))/$($(PKG)_FILE) | 11 $(PKG)_URL_2 := ftp://ftp.simplesystems.org/pub/$(PKG)/png/src/$(PKG)$(subst .,,$(call SHORT_PKG_VERSION,$(PKG)))/$($(PKG)_FILE) |
12 $(PKG)_DEPS := zlib | 12 $(PKG)_DEPS := zlib |
31 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ | 31 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ |
32 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ | 32 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
33 $(ENABLE_SHARED_OR_STATIC) \ | 33 $(ENABLE_SHARED_OR_STATIC) \ |
34 $($(PKG)_CONFIGURE_OPTIONS) \ | 34 $($(PKG)_CONFIGURE_OPTIONS) \ |
35 --prefix='$(HOST_PREFIX)' && $(CONFIGURE_POST_HOOK) | 35 --prefix='$(HOST_PREFIX)' && $(CONFIGURE_POST_HOOK) |
36 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= DESTDIR='$(3)' | 36 $(MAKE) -C '$(1)' -j '$(JOBS)' install $(MXE_DISABLE_PROGS) $(MXE_DISABLE_DOCS) DESTDIR='$(3)' |
37 | 37 |
38 rm -f '$(3)$(HOST_LIBDIR)/libpng.la' | 38 if [ ! "x$(MXE_NATIVE_BUILD)" = "xyes" ]; then \ |
39 rm -f '$(3)$(HOST_LIBDIR)/libpng15.la' | 39 $(LN_SF) '$(HOST_BINDIR)/libpng-config' '$(BUILD_TOOLS_PREFIX)/bin/$(MXE_TOOL_PREFIX)libpng-config'; \ |
40 fi | |
40 endef | 41 endef |