vim: update to 9.1.0984
[oi-userland.git] / components / library / libgtop / Makefile
blob9052a06b4c55cee641e23d91b0d2c8958a374ebb
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 2016 Alexander Pyhalov
14 # Copyright 2020 Marco van Wieringen
17 BUILD_BITS= 64
18 include ../../../make-rules/shared-macros.mk
20 COMPONENT_NAME= libgtop
21 COMPONENT_VERSION= 2.40.0
22 COMPONENT_REVISION= 1
23 COMPONENT_SUMMARY= Library to get system specific data
24 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
25 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
26 COMPONENT_ARCHIVE_HASH= \
27 sha256:78f3274c0c79c434c03655c1b35edf7b95ec0421430897fb1345a98a265ed2d4
28 COMPONENT_ARCHIVE_URL= \
29 https://download.gnome.org/sources/$(COMPONENT_NAME)/2.40/$(COMPONENT_ARCHIVE)
30 COMPONENT_PROJECT_URL = https://www.gnome.org
31 COMPONENT_CLASSIFICATION = System/Libraries
32 COMPONENT_FMRI = library/libgtop
33 COMPONENT_LICENSE = GPLv2
34 COMPONENT_LICENSE_FILE = COPYING
36 TEST_TARGET= $(NO_TESTS)
38 include $(WS_MAKE_RULES)/common.mk
40 PATH=$(PATH.gnu)
42 COMPONENT_PREP_ACTION = (cd $(@D) && autoreconf -fi)
44 CONFIGURE_OPTIONS += --sysconfdir=/etc
46 CONFIGURE_ENV += PERL=$(PERL)
47 CONFIGURE_ENV += PYTHON=$(PYTHON)
49 COMPONENT_BUILD_ENV += CC="$(CC)"
50 COMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS)"
52 # Auto-generated dependencies
53 REQUIRED_PACKAGES += library/glib2
54 REQUIRED_PACKAGES += system/library
55 REQUIRED_PACKAGES += x11/library/libxau