commit | author | age
|
618282
|
1 |
# |
JK |
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. |
|
6 |
# |
|
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. |
|
10 |
# |
|
11 |
|
|
12 |
# |
|
13 |
# Copyright (c) 2015 Jim Klimov |
|
14 |
# |
|
15 |
|
5a67d3
|
16 |
include ../../../../make-rules/shared-macros.mk |
618282
|
17 |
|
JK |
18 |
COMPONENT_NAME= gnome-connection-manager |
|
19 |
COMPONENT_NAME_SHORT= gcm |
|
20 |
COMPONENT_VERSION= 1.1.0 |
5a67d3
|
21 |
COMPONENT_REVISION= 1 |
618282
|
22 |
COMPONENT_PROJECT_URL= http://kuthulu.com/gcm |
JK |
23 |
COMPONENT_SRC= $(COMPONENT_NAME_SHORT)-$(COMPONENT_VERSION) |
|
24 |
COMPONENT_ARCHIVE= $(COMPONENT_NAME)_$(COMPONENT_VERSION)_all.tgz |
|
25 |
COMPONENT_ARCHIVE_HASH= \ |
|
26 |
sha256:71a128676d16153c735499cec9f0a1af1e2dc1107ed5c57cea1994eadc120c4c |
|
27 |
COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/$(COMPONENT_ARCHIVE) |
|
28 |
COMPONENT_SUMMARY= GCM - an Advanced SSH connections manager for X/Windows |
|
29 |
COMPONENT_FMRI= terminal/gnome-connection-manager |
|
30 |
COMPONENT_CLASSIFICATION= Applications/System Utilities |
|
31 |
COMPONENT_LICENSE= GPLv3 |
|
32 |
COMPONENT_LICENSE_FILE= $(COMPONENT_NAME).license |
|
33 |
|
5a67d3
|
34 |
include $(WS_MAKE_RULES)/prep.mk |
AP |
35 |
include $(WS_MAKE_RULES)/ips.mk |
|
36 |
|
618282
|
37 |
CLEAN_PATHS+= $(BUILD_DIR) |
JK |
38 |
|
|
39 |
# rules are very simple, because the project is a script - just deliver and run |
|
40 |
# unpacked directory is among search paths for the p5m installation anyway |
|
41 |
|
|
42 |
$(BUILD_DIR)/.built: $(SOURCE_DIR)/.prep |
|
43 |
$(RM) -r $(@D) ; $(MKDIR) $(@D) |
|
44 |
$(CLONEY) $(SOURCE_DIR) $(@D) |
|
45 |
find $(@D) -name '*.pyc' -exec rm -f '{}' \; |
|
46 |
$(PYTHON) -m compileall $(@D) |
|
47 |
$(TOUCH) $@ |
|
48 |
|
|
49 |
$(BUILD_DIR)/.installed: $(BUILD_DIR)/.built |
|
50 |
$(TOUCH) $@ |
|
51 |
|
|
52 |
build: $(BUILD_DIR)/.built files/gcm Makefile |
|
53 |
|
|
54 |
install: $(BUILD_DIR)/.installed Makefile |
|
55 |
|
|
56 |
test: $(NO_TESTS) |
|
57 |
|
5a67d3
|
58 |
REQUIRED_PACKAGES += SUNWcs |
AP |
59 |
REQUIRED_PACKAGES += library/desktop/vte |
|
60 |
REQUIRED_PACKAGES += library/python/pygobject-27 |
|
61 |
REQUIRED_PACKAGES += library/python/pygtk2-27 |
|
62 |
REQUIRED_PACKAGES += runtime/python-27 |
|
63 |
REQUIRED_PACKAGES += shell/expect |