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
16 USE_DEFAULT_TEST_TRANSFORMS
= yes
17 include ..
/..
/..
/make-rules
/shared-macros.mk
19 COMPONENT_NAME
= libpng
20 COMPONENT_VERSION
= 1.0.69
22 COMPONENT_PROJECT_URL
= http
://www.libpng.org
/
23 COMPONENT_SUMMARY
= Portable Network Graphics library version
$(COMPONENT_VERSION
)
24 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
25 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
26 COMPONENT_ARCHIVE_HASH
= sha256
:775798fd8e82c8dfe2b3e7d7bff3fd53d4ee875be65246f98bbb56fa4c1ed842
27 COMPONENT_ARCHIVE_URL
= https
://sourceforge.net
/projects
/libpng
/files
/libpng10
/$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)/download
28 COMPONENT_FMRI
= image
/library
/libpng10
29 COMPONENT_CLASSIFICATION
=System
/Multimedia Libraries
30 COMPONENT_LICENSE
= libpng
31 COMPONENT_LICENSE_FILE
= LICENSE
33 include $(WS_MAKE_RULES
)/common.mk
37 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
38 CONFIGURE_OPTIONS
+= --disable-static
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