re2c: update to 4.0
[oi-userland.git] / components / sysutils / fastfetch / Makefile
blob80b8ba82f25853ef44c96e1843f4fedc956d0ab6
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 2024 Carter Li
16 BUILD_STYLE= cmake
17 include ../../../make-rules/shared-macros.mk
19 COMPONENT_NAME= fastfetch
20 COMPONENT_VERSION= 2.30.1
21 COMPONENT_SUMMARY= An actively maintained, feature-rich and performance oriented, neofetch like system information tool
22 COMPONENT_PROJECT_URL= https://github.com/fastfetch-cli/fastfetch
23 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
24 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
25 COMPONENT_ARCHIVE_URL= https://github.com/fastfetch-cli/fastfetch/archive/refs/tags/$(COMPONENT_VERSION).tar.gz
26 COMPONENT_ARCHIVE_HASH= sha256:5248311a3d8ce65f6f48756dfc0df9f8922d64f5201ee8d980497d52e924906e
27 COMPONENT_FMRI= application/fastfetch
28 COMPONENT_CLASSIFICATION= Applications/System Utilities
29 COMPONENT_LICENSE= MIT
30 COMPONENT_LICENSE_FILE= LICENSE
32 include $(WS_MAKE_RULES)/common.mk
34 CMAKE_OPTIONS += -DSET_TWEAK=Off
35 CMAKE_OPTIONS += -DENABLE_LTO=Off
37 COMPONENT_TEST_CMD = ./fastfetch --list-features && ./fastfetch
39 # Auto-generated dependencies
40 REQUIRED_PACKAGES += system/file-system/zfs
41 REQUIRED_PACKAGES += system/library
42 REQUIRED_PACKAGES += system/library/math