kumquat-buildroot/package/mbpfan/mbpfan.mk
Christian Stewart bf9a5c397c package/mbpfan: bump version to v2.4.0
- Add support for alternate SMC path used with newer MacBooks
 - Improved systemd integration
 - Removed developer tests which confused users

https://github.com/linux-on-mac/mbpfan/releases/tag/v2.4.0

Signed-off-by: Christian Stewart <christian@aperture.us>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-05-06 18:02:10 +02:00

30 lines
825 B
Makefile

################################################################################
#
# mbpfan
#
################################################################################
MBPFAN_VERSION = 2.4.0
MBPFAN_SITE = $(call github,linux-on-mac,mbpfan,v$(MBPFAN_VERSION))
MBPFAN_LICENSE = GPL-3.0+
MBPFAN_LICENSE_FILES = COPYING
define MBPFAN_BUILD_CMDS
$(TARGET_MAKE_ENV) CFLAGS="$(TARGET_CFLAGS)" \
LDFLAGS="$(TARGET_LDFLAGS)" \
$(MAKE) CC="$(TARGET_CC)" -C $(@D)
endef
define MBPFAN_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0644 $(@D)/mbpfan.conf \
$(TARGET_DIR)/etc/mbpfan.conf
$(INSTALL) -m 0755 $(@D)/bin/mbpfan $(TARGET_DIR)/usr/sbin/mbpfan
endef
define MBPFAN_INSTALL_INIT_SYSTEMD
$(INSTALL) -D -m 644 $(@D)/mbpfan.service \
$(TARGET_DIR)/usr/lib/systemd/system/mbpfan.service
endef
$(eval $(generic-package))