Revert "remove tsol from xorg-server"
[unleashed-userland.git] / components / gdesklets-worldtime / Makefile
blobfaa29b54ea95bc444682900ad9928da91d816584
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 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)
40 $(TOUCH) $@
42 # install the built source into a prototype area
43 $(BUILD_DIR)/%/.installed: $(BUILD_DIR)/%/.built
44 $(RM) -r $(PROTO_DIR)
45 $(MKDIR) $(PROTO_DIR)/usr/share/gdesklets/Displays
46 cp -a $(COMPONENT_DIR)/$(COMPONENT_SRC) $(PROTO_DIR)/usr/share/gdesklets/Displays
47 $(TOUCH) $@
49 build: $(BUILD_32)
51 install: $(INSTALL_32)