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 2015 Alexander Pyhalov
16 include ..
/..
/make-rules
/shared-macros.mk
18 COMPONENT_NAME
= WorldTime
19 COMPONENT_VERSION
= 0.9.2
20 COMPONENT_SUMMARY
= WorldTime gdesklet widget
21 COMPONENT_SRC
= WorldTime-v
$(COMPONENT_VERSION
)
22 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
23 COMPONENT_ARCHIVE_HASH
= \
24 sha256
:9380eb61792fbadeee251737030264f4c74589af9c535102620cd3b119be646b
25 COMPONENT_ARCHIVE_URL
= \
26 http
://www.gdesklets.
info/archive
/$(COMPONENT_ARCHIVE
)
27 COMPONENT_PROJECT_URL
= http
://www.gdesklets.
info/archive
/
28 COMPONENT_FMRI
= gnome
/desklet
/worldtime
29 CLEAN_PATHS
+=$(COMPONENT_SRC
)
30 CLEAN_PATHS
+=$(BUILD_DIR
)
31 COMPONENT_LICENSE
= unknown
32 COMPONENT_LICENSE_FILE
= worldtime.license
33 COMPONENT_CLASSIFICATION
= Applications
/Panels and Applets
35 include $(WS_TOP
)/make-rules
/prep.mk
36 include $(WS_TOP
)/make-rules
/ips.mk
38 $(BUILD_DIR
)/%/.built
: $(SOURCE_DIR
)/.prep
39 $(RM
) -r
$(@D
) ; $(MKDIR
) $(@D
)
42 # install the built source into a prototype area
43 $(BUILD_DIR
)/%/.installed
: $(BUILD_DIR
)/%/.built
45 $(MKDIR
) $(PROTO_DIR
)/usr
/share
/gdesklets
/Displays
46 cp
-a
$(COMPONENT_DIR
)/$(COMPONENT_SRC
) $(PROTO_DIR
)/usr
/share
/gdesklets
/Displays
51 install: $(INSTALL_32
)