json-glib: update to 1.10.6
[oi-userland.git] / components / library / libpng12 / Makefile
blobf3d7e9291e5c79ef038fcbbe589ba4b3b2c8ed1c
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL)". You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2015 Alexander Pyhalov
15 BUILD_BITS= 32_and_64
16 USE_DEFAULT_TEST_TRANSFORMS= yes
17 include ../../../make-rules/shared-macros.mk
19 COMPONENT_NAME= libpng
20 COMPONENT_VERSION= 1.2.59
21 COMPONENT_REVISION= 2
22 COMPONENT_SUMMARY= Portable Network Graphics library version $(COMPONENT_VERSION)
23 COMPONENT_PROJECT_URL= http://www.libpng.org/
24 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
25 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
26 COMPONENT_ARCHIVE_HASH= sha256:b4635f15b8adccc8ad0934eea485ef59cc4cae24d0f0300a9a941e51974ffcc7
27 COMPONENT_ARCHIVE_URL= https://sourceforge.net/projects/libpng/files/libpng12/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)/download
28 COMPONENT_FMRI= image/library/libpng12
29 COMPONENT_CLASSIFICATION=System/Multimedia Libraries
30 COMPONENT_LICENSE= libpng
31 COMPONENT_LICENSE_FILE= LICENSE
33 include $(WS_MAKE_RULES)/common.mk
35 PATH=$(PATH.gnu)
37 CONFIGURE_OPTIONS+= --sysconfdir=/etc
38 CONFIGURE_OPTIONS+= --disable-static
40 # for tests to pass
41 unexport SHELLOPTS
43 # Auto-generated dependencies
44 REQUIRED_PACKAGES += library/zlib
45 REQUIRED_PACKAGES += shell/ksh93
46 REQUIRED_PACKAGES += system/library
47 REQUIRED_PACKAGES += system/library/math