Mercurial > mxe-octave
comparison src/libpng.mk @ 2658:ca2d19df9e6e
update package libpng
author | Mark Brand <mabrand@mabrand.nl> |
---|---|
date | Wed, 11 Jul 2012 16:56:14 +0200 |
parents | 714f0739b379 |
children | a4f31aa591e1 |
comparison
equal
deleted
inserted
replaced
2657:8df445312d3e | 2658:ca2d19df9e6e |
---|---|
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)_CHECKSUM := 6a7eba0c6317f761380b822ff05bdcdeec769f76 | 6 $(PKG)_CHECKSUM := 7ea36f6b26809cd1141c155feb2ad6c1af141702 |
7 $(PKG)_SUBDIR := libpng-$($(PKG)_VERSION) | 7 $(PKG)_SUBDIR := libpng-$($(PKG)_VERSION) |
8 $(PKG)_FILE := libpng-$($(PKG)_VERSION).tar.xz | 8 $(PKG)_FILE := libpng-$($(PKG)_VERSION).tar.xz |
9 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)$(subst .,,$(call SHORT_PKG_VERSION,$(PKG)))/older-releases/$($(PKG)_VERSION)/$($(PKG)_FILE) | 9 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)$(subst .,,$(call SHORT_PKG_VERSION,$(PKG)))/older-releases/$($(PKG)_VERSION)/$($(PKG)_FILE) |
10 $(PKG)_URL_2 := ftp://ftp.simplesystems.org/pub/$(PKG)/png/src/$($(PKG)_FILE) | 10 $(PKG)_URL_2 := ftp://ftp.simplesystems.org/pub/$(PKG)/png/src/$($(PKG)_FILE) |
11 $(PKG)_DEPS := gcc zlib | 11 $(PKG)_DEPS := gcc zlib |
22 endef | 22 endef |
23 | 23 |
24 define $(PKG)_BUILD | 24 define $(PKG)_BUILD |
25 cd '$(1)' && ./configure \ | 25 cd '$(1)' && ./configure \ |
26 --host='$(TARGET)' \ | 26 --host='$(TARGET)' \ |
27 --build="`config.guess`" \ | |
27 --disable-shared \ | 28 --disable-shared \ |
28 --prefix='$(PREFIX)/$(TARGET)' | 29 --prefix='$(PREFIX)/$(TARGET)' |
29 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= | 30 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= |
30 | 31 |
31 '$(TARGET)-gcc' \ | 32 '$(TARGET)-gcc' \ |