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 2013 Adam Stevko. All rights reserved.
13 # Copyright 2021 Andreas Wacknitz. All rights reserved.
17 include ..
/..
/..
/make-rules
/shared-macros.mk
19 COMPONENT_NAME
= libstatgrab
20 COMPONENT_VERSION
= 0.92.1
21 COMPONENT_VERSION2
= $(subst .
,_
,$(COMPONENT_VERSION
))
22 COMPONENT_SUMMARY
= libstatgrab is a library that provides cross platform access to statistics about the system on which it
's run.
23 COMPONENT_PROJECT_URL= https://libstatgrab.org/
24 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
25 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
26 COMPONENT_ARCHIVE_HASH= sha256:5688aa4a685547d7174a8a373ea9d8ee927e766e3cc302bdee34523c2c5d6c11
27 COMPONENT_ARCHIVE_URL= https://github.com/libstatgrab/libstatgrab/releases/download/LIBSTATGRAB_$(COMPONENT_VERSION2)/$(COMPONENT_ARCHIVE)
28 COMPONENT_FMRI= library/$(COMPONENT_NAME)
29 COMPONENT_CLASSIFICATION= Development/C
30 COMPONENT_LICENSE= GPLv2
32 include $(WS_MAKE_RULES)/common.mk
34 CONFIGURE_ENV.64 += lt_cv_sys_lib_dlsearch_path_spec="/lib/$(MACH64) /usr/lib/$(MACH64)"
36 # Auto-generated dependencies
37 REQUIRED_PACKAGES += library/ncurses
38 REQUIRED_PACKAGES += system/library