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 Alexander Pyhalov. All rights reserved.
16 BUILD_STYLE
= configure
18 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_VERSION
= 1.33
23 COMPONENT_SUMMARY
= CHM viewer for UNIX
24 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
25 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
26 COMPONENT_ARCHIVE_HASH
= sha256
:b3e36255136b89c7ad1385d5c1e6c0ea9a28982e5cbb22ff4b928baba04ec02a
27 COMPONENT_PROJECT_URL
= https
://github.com
/rzvncj
/xCHM
28 COMPONENT_ARCHIVE_URL
= $(COMPONENT_PROJECT_URL
)/releases
/download
/$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)
29 COMPONENT_FMRI
= desktop
/xchm
30 COMPONENT_CLASSIFICATION
= Applications
/Office
31 COMPONENT_LICENSE
= LGPLv2.1
32 COMPONENT_LICENSE_FILE
= COPYING
34 include $(WS_MAKE_RULES
)/common.mk
36 # Missing files in build dir for configure without this.
37 COMPONENT_PRE_CONFIGURE_ACTION
= ( $(CLONEY
) $(SOURCE_DIR
) $(@D
) )
39 # Auto-generated dependencies
40 REQUIRED_PACKAGES
+= $(GCC_RUNTIME_PKG
)
41 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)
42 REQUIRED_PACKAGES
+= library
/desktop
/chmlib
43 REQUIRED_PACKAGES
+= library
/graphics
/wxwidgets-3
44 REQUIRED_PACKAGES
+= system
/library