rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / desktop / gnome2 / gnome-connection-manager / Makefile
blob37cdc213537a6639e09d3a9b0424d94b889d40fd
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
5 # 1.0 of the CDDL.
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 (c) 2015-2021 Jim Klimov
16 BUILD_STYLE = justmake
18 include ../../../../make-rules/shared-macros.mk
20 COMPONENT_NAME_LONG= gnome-connection-manager
21 COMPONENT_NAME_SHORT= gcm
22 # The value below should match the .p5m and .license filenames, in particular:
23 COMPONENT_NAME= $(COMPONENT_NAME_LONG)
24 COMPONENT_VERSION= 1.2.1
25 COMPONENT_REVISION= 1
26 # Currently the latest release is a bit behind the Git HEAD on features
27 # Comment away when switching to future "vanilla" release
28 COMPONENT_GIT_ORG= kuthulux
29 COMPONENT_GIT_REV= d2f66e3
30 COMPONENT_GIT_DATE= 20210420
31 COMPONENT_PROJECT_URL= http://kuthulu.com/gcm
33 ifeq (,$(COMPONENT_GIT_REV))
34 ### How the source dir is named in the archive:
35 COMPONENT_SRC= $(COMPONENT_NAME_LONG)-$(COMPONENT_VERSION)
36 ### How the original sites name the archive:
37 COMPONENT_ARCHIVE_ORIG= v$(COMPONENT_VERSION).tar.gz
38 COMPONENT_ARCHIVE_URL= https://github.com/$(COMPONENT_GIT_ORG)/$(COMPONENT_NAME_LONG)/archive/$(COMPONENT_ARCHIVE_ORIG)
39 ### How we name the archive to store on build hosts:
40 COMPONENT_ARCHIVE= $(COMPONENT_NAME)-$(COMPONENT_VERSION).tar.gz
41 else
42 ### How the source dir is named in the archive:
43 COMPONENT_SRC= $(COMPONENT_GIT_ORG)-$(COMPONENT_NAME_LONG)-$(COMPONENT_GIT_REV)
44 ### How the original sites name the archive:
45 #COMPONENT_ARCHIVE_ORIG= v$(COMPONENT_VERSION)-$(COMPONENT_GIT_REV).tar.gz
46 COMPONENT_ARCHIVE_URL= https://codeload.github.com/$(COMPONENT_GIT_ORG)/$(COMPONENT_NAME_LONG)/legacy.tar.gz/$(COMPONENT_GIT_REV)
47 ### How we name the archive to store on build hosts:
48 COMPONENT_ARCHIVE= $(COMPONENT_NAME)-$(COMPONENT_VERSION)-$(COMPONENT_GIT_REV).tar.gz
49 endif
51 COMPONENT_ARCHIVE_HASH= \
52 sha256:9ab00a8ea22a32e77ad6f225b6da65652c60e097dd125a5e27a07cb5c3dcb659
54 COMPONENT_SUMMARY= GCM - an Advanced SSH connections manager for X/Windows
55 COMPONENT_FMRI= terminal/$(COMPONENT_NAME)
56 COMPONENT_CLASSIFICATION= Applications/System Utilities
57 COMPONENT_LICENSE= GPLv3
58 COMPONENT_LICENSE_FILE= $(COMPONENT_NAME).license
60 TEST_TARGET = $(NO_TESTS)
62 include $(WS_MAKE_RULES)/common.mk
64 # rules are very simple, because the project is a script - just deliver and run
65 # unpacked directory is among search paths for the p5m installation anyway
67 COMPONENT_PRE_BUILD_ACTION = find $(@D) -name '*.pyc' -exec rm -f '{}' \;
68 COMPONENT_BUILD_ACTION = $(PYTHON) -m compileall $(@D)
70 COMPONENT_INSTALL_ACTION = true
72 # Auto-generated dependencies
73 PYTHON_REQUIRED_PACKAGES += library/python/pycairo
74 PYTHON_REQUIRED_PACKAGES += library/python/pygobject-3
75 PYTHON_REQUIRED_PACKAGES += runtime/python
76 REQUIRED_PACKAGES += shell/expect
77 REQUIRED_PACKAGES += shell/ksh93