Obsolete VTE pre-2.91 ABI
[oi-userland.git] / components / desktop / gkrellm / Makefile
blob00924a5b48c5f693fa049284f45f18b11266a1f0
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 BUILD_BITS= 64
16 BUILD_STYLE= justmake
17 include ../../../make-rules/shared-macros.mk
19 COMPONENT_NAME= gkrellm
20 COMPONENT_VERSION= 2.3.11
21 COMPONENT_PROJECT_URL= http://gkrellm.srcbox.net/
22 COMPONENT_SUMMARY= Popular (ubiquitous) Gtk-based system monitor
23 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
24 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
25 COMPONENT_ARCHIVE_HASH= \
26 sha256:1ee0643ed9ed99f88c1504c89d9ccb20780cf29319c904b68e80a8e7c8678c06
27 COMPONENT_ARCHIVE_URL= http://gkrellm.srcbox.net/releases/$(COMPONENT_ARCHIVE)
28 COMPONENT_CLASSIFICATION= Applications/System Utilities
29 COMPONENT_LICENSE= GPLv3
30 COMPONENT_LICENSE_FILE= COPYING
31 COMPONENT_FMRI= desktop/system-monitor/gkrellm
33 TEST_TARGET: $(NO_TESTS)
34 include $(WS_MAKE_RULES)/common.mk
36 PATH=/usr/bin/$(MACH64):$(PATH.gnu)
38 COMPONENT_BUILD_ENV += enable_nls=1
39 COMPONENT_BUILD_ENV += LOCALEDIR=/usr/share/locale
40 COMPONENT_BUILD_ENV += LINK_FLAGS="-lsocket -lnsl -lkstat -lkvm -ldevinfo"
41 COMPONENT_BUILD_ENV += CC=$(CC)
42 COMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS)"
43 COMPONENT_BUILD_ENV += LDFLAGS="$(LDFLAGS)"
44 COMPONENT_BUILD_ENV += PATH=$(PATH)
46 COMPONENT_INSTALL_ENV += PREFIX=/usr
48 # Auto-generated dependencies
49 REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
50 REQUIRED_PACKAGES += library/desktop/gtk2
51 REQUIRED_PACKAGES += library/desktop/pango
52 REQUIRED_PACKAGES += library/glib2
53 REQUIRED_PACKAGES += service/hal
54 REQUIRED_PACKAGES += system/library
55 REQUIRED_PACKAGES += system/library/libdbus
56 REQUIRED_PACKAGES += system/library/math
57 REQUIRED_PACKAGES += x11/library/libice
58 REQUIRED_PACKAGES += x11/library/libsm
59 REQUIRED_PACKAGES += x11/library/libx11