2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2014-2016, Aurelien Larcher. All rights reserved.
16 include ..
/..
/..
/make-rules
/shared-macros.mk
18 COMPONENT_NAME
= graphite2
19 COMPONENT_VERSION
= 1.3.9
20 COMPONENT_FMRI
= library
/c
++/graphite2
21 COMPONENT_CLASSIFICATION
=System
/Libraries
22 COMPONENT_SUMMARY
= Graphite2
- Library for rendering non-roman scripts
23 COMPONENT_PROJECT_URL
= http
://sourceforge.net
/projects
/silgraphite
24 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
25 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).tgz
26 COMPONENT_ARCHIVE_HASH
= \
27 sha256
:ec0185b663059553fd46e8c4a4f0dede60a02f13a7a1fefc2ce70332ea814567
28 COMPONENT_ARCHIVE_URL
= \
29 https
://github.com
/silnrsi
/graphite
/releases
/download
/$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)
30 COMPONENT_LICENSE
= LGPLv2.1
32 include $(WS_MAKE_RULES
)/prep.mk
33 include $(WS_MAKE_RULES
)/cmake.mk
34 include $(WS_MAKE_RULES
)/ips.mk
38 # need this to use abs(float)
41 CMAKE_OPTIONS
+= -DCMAKE_BUILD_TYPE
=Release
42 CMAKE_OPTIONS
+= -DGRAPHITE2_ASAN
=OFF
43 CMAKE_OPTIONS
+= -DGRAPHITE2_COMPARE_RENDERER
=OFF
44 CMAKE_OPTIONS
+= -DGRAPHITE2_DOXYGEN_CONFIG
=public
45 CMAKE_OPTIONS
+= -DGRAPHITE2_NFILEFACE
=OFF
46 CMAKE_OPTIONS
+= -DGRAPHITE2_NSEGCACHE
=OFF
47 CMAKE_OPTIONS
+= -DGRAPHITE2_NTRACING
=ON
48 CMAKE_OPTIONS
+= -DGRAPHITE2_TELEMETRY
=OFF
49 CMAKE_OPTIONS
+= -DGRAPHITE2_VM_TYPE
=auto
50 #CMAKE_OPTIONS+= -DLATEX=/usr/bin/latex
52 COMPONENT_TEST_CMD
= ctest
53 COMPONENT_TEST_TARGETS
=
55 build
: $(BUILD_32_and_64
)
57 install: $(INSTALL_32_and_64
)
59 test: $(TEST_32_and_64
)
61 REQUIRED_PACKAGES
+= system
/library
62 REQUIRED_PACKAGES
+= system
/library
/g
++-4-runtime
63 REQUIRED_PACKAGES
+= system
/library
/math