GCC: use -fuse-cxa-atexit by default
[unleashed-userland.git] / components / gkrellm / Makefile
blobd6c202c13d4818c1e76b55b8a7e90b1a40545c15
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL)". You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright (c) 2015 Alexander Pyhalov
15 include ../../make-rules/shared-macros.mk
17 COMPONENT_NAME= gkrellm
18 COMPONENT_VERSION= 2.3.5
19 COMPONENT_PROJECT_URL= http://gkrellm.srcbox.net/
20 COMPONENT_SUMMARY= Popular (ubiquitous) Gtk-based system monitor
21 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
22 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
23 COMPONENT_ARCHIVE_HASH= \
24 sha256:702b5b0e9c040eb3af8e157453f38dd6f53e1dcd8b1272d20266cda3d4372c8b
25 COMPONENT_ARCHIVE_URL= http://gkrellm.srcbox.net/releases/$(COMPONENT_ARCHIVE)
26 COMPONENT_CLASSIFICATION= Applications/System Utilities
27 COMPONENT_LICENSE= GPLv3
28 COMPONENT_LICENSE_FILE= COPYING
29 COMPONENT_FMRI= desktop/system-monitor/gkrellm
31 include $(WS_TOP)/make-rules/prep.mk
32 include $(WS_TOP)/make-rules/justmake.mk
33 include $(WS_TOP)/make-rules/ips.mk
35 PATH=/usr/gnu/bin:/usr/bin
37 COMPONENT_BUILD_ENV += enable_nls=1
38 COMPONENT_BUILD_ENV += LOCALEDIR=/usr/share/locale
39 COMPONENT_BUILD_ENV += LINK_FLAGS="-lsocket -lnsl -lkstat -lkvm -ldevinfo"
40 COMPONENT_BUILD_ENV += CC=$(CC)
42 COMPONENT_INSTALL_ENV += PREFIX=/usr
44 # common targets
45 build: $(BUILD_32)
47 install: $(INSTALL_32)
49 test: $(NO_TESTS)
51 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
53 include $(WS_TOP)/make-rules/depend.mk