Move all to deprecated folder.
This commit is contained in:
11
deprecated/firmware/buildroot/package/fan-ctrl/Config.in
Normal file
11
deprecated/firmware/buildroot/package/fan-ctrl/Config.in
Normal file
@@ -0,0 +1,11 @@
|
||||
config BR2_PACKAGE_FAN_CTRL
|
||||
bool "fan-ctrl"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
help
|
||||
Fan-ctrl is a little daemon that controls the speed of one
|
||||
or more system or CPU fans. It does so by monitoring
|
||||
temperature inputs and selecting a fan speed from an array
|
||||
of available speeds based on a set of temperature
|
||||
thresholds.
|
||||
|
||||
http://fan-ctrl.sourceforge.net/
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally computed
|
||||
sha1 d8ba5bac15e90c36a4e908ca1c98fac83bf702ea fan-ctrl.c?revision=1.3
|
||||
27
deprecated/firmware/buildroot/package/fan-ctrl/fan-ctrl.mk
Normal file
27
deprecated/firmware/buildroot/package/fan-ctrl/fan-ctrl.mk
Normal file
@@ -0,0 +1,27 @@
|
||||
################################################################################
|
||||
#
|
||||
# fan-ctrl
|
||||
#
|
||||
################################################################################
|
||||
|
||||
# no release, so grab .c file directly from viewvc
|
||||
FAN_CTRL_VERSION = 1.3
|
||||
FAN_CTRL_SOURCE = fan-ctrl.c?revision=$(FAN_CTRL_VERSION)
|
||||
FAN_CTRL_SITE = http://fan-ctrl.cvs.sourceforge.net/viewvc/fan-ctrl/fan-ctrl
|
||||
FAN_CTRL_LICENSE = GPLv2+
|
||||
FAN_CTRL_LICENSE_FILES = fan-ctrl.c
|
||||
|
||||
define FAN_CTRL_EXTRACT_CMDS
|
||||
cp $(DL_DIR)/$(FAN_CTRL_SOURCE) $(@D)/fan-ctrl.c
|
||||
endef
|
||||
|
||||
define FAN_CTRL_BUILD_CMDS
|
||||
$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) \
|
||||
$(@D)/fan-ctrl.c -o $(@D)/fan-ctrl
|
||||
endef
|
||||
|
||||
define FAN_CTRL_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D -m 755 $(@D)/fan-ctrl $(TARGET_DIR)/usr/sbin/fan-ctrl
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user