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 2017 Aurelien Larcher
15 include ..
/..
/..
/make-rules
/shared-macros.mk
18 COMPONENT_VERSION
= 1.3.10
19 COMPONENT_SUMMARY
= fltk
- Fast Light Toolkit
20 COMPONENT_PROJECT_URL
= https
://www.fltk.org
21 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
22 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
)-source.
tar.gz
23 COMPONENT_ARCHIVE_URL
= https
://fltk.org
/pub
/fltk
/$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)
24 COMPONENT_ARCHIVE_HASH
= sha256
:c1c96d4f2ca7844f4b7945b4670aff2846f150cd5f3e23e3e4c70a61807108c7
25 COMPONENT_FMRI
= library
/fltk
26 COMPONENT_CLASSIFICATION
=System
/Libraries
27 COMPONENT_LICENSE
= GPLv2
28 COMPONENT_LICENSE_FILE
= COPYING
30 CONFIGURE_FIX_LIBTOOL_RPATH
= no
32 include $(WS_MAKE_RULES
)/common.mk
34 # Missing files in build dir for configure without this.
35 COMPONENT_PRE_CONFIGURE_ACTION
= ( $(CLONEY
) $(SOURCE_DIR
) $(@D
) )
37 CONFIGURE_OPTIONS
+= --enable-shared
38 CONFIGURE_OPTIONS
+= --enable-static
=no
39 CONFIGURE_OPTIONS
+= --enable-cairo
=yes
41 # Note that the tests are no real tests but just examples. You can run them manually.
42 COMPONENT_TEST_DIR
= $(@D
)/test
43 COMPONENT_TEST_TARGETS
= all
45 # Auto-generated dependencies
46 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)
47 REQUIRED_PACKAGES
+= $(JPEG_IMPLEM_PKG
)
48 REQUIRED_PACKAGES
+= image
/library
/libpng16
49 REQUIRED_PACKAGES
+= library
/desktop
/cairo
50 REQUIRED_PACKAGES
+= shell/ksh93
51 REQUIRED_PACKAGES
+= system
/library
52 REQUIRED_PACKAGES
+= system
/library
/fontconfig
53 REQUIRED_PACKAGES
+= system
/library
/math
54 REQUIRED_PACKAGES
+= x11
/library
/libx11
55 REQUIRED_PACKAGES
+= x11
/library
/libxcursor
56 REQUIRED_PACKAGES
+= x11
/library
/libxext
57 REQUIRED_PACKAGES
+= x11
/library
/libxfixes
58 REQUIRED_PACKAGES
+= x11
/library
/libxft
59 REQUIRED_PACKAGES
+= x11
/library
/libxinerama
60 REQUIRED_PACKAGES
+= x11
/library
/libxrender