illumos-gcc: native unleashed host & generate 64bit code by default
[unleashed-userland.git] / components / lcms2 / Makefile
blobaa1f8459311429aed552828b1ea9a1386cd1572d
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
21 # Copyright (c) 2015, Aurelien Larcher
23 include ../../make-rules/shared-macros.mk
25 COMPONENT_NAME = lcms2
26 COMPONENT_VERSION= 2.7
27 COMPONENT_FMRI= library/lcms2
28 COMPONENT_CLASSIFICATION=System/Libraries
29 COMPONENT_SUMMARY= The Little Color Management System
30 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
31 COMPONENT_PROJECT_URL= http://www.littlecms.com/
32 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
33 COMPONENT_ARCHIVE_HASH= \
34 sha256:4524234ae7de185e6b6da5d31d6875085b2198bc63b1211f7dde6e2d197d6a53
35 COMPONENT_ARCHIVE_URL= http://sourceforge.net/projects/lcms/files/lcms/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
36 COMPONENT_BUGDB= utility/lcms2
37 COMPONENT_LICENSE= MIT
38 COMPONENT_LICENSE_FILE= $(COMPONENT_NAME).license
40 include ../../make-rules/prep.mk
41 include ../../make-rules/configure.mk
42 include ../../make-rules/ips.mk
45 CONFIGURE_OPTIONS += --includedir=/usr/include/lcms2
46 CONFIGURE_OPTIONS += --enable-shared
47 CONFIGURE_OPTIONS += --disable-static
48 CONFIGURE_OPTIONS += --with-zlib
49 CONFIGURE_OPTIONS += --with-pic
52 build: $(BUILD_32_and_64)
54 install: $(INSTALL_32_and_64)
56 test: $(TEST_32_and_64)
58 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
60 include ../../make-rules/depend.mk