1 ################################################################################
5 ################################################################################
7 # no release, so grab .c file directly from viewvc
9 FAN_CTRL_SOURCE
= fan-ctrl.c?revision
=$(FAN_CTRL_VERSION
)
10 FAN_CTRL_SITE
= http
://fan-ctrl.cvs.sourceforge.net
/viewvc
/fan-ctrl
/fan-ctrl
11 FAN_CTRL_LICENSE
= GPLv2
+
12 FAN_CTRL_LICENSE_FILES
= fan-ctrl.c
14 define FAN_CTRL_EXTRACT_CMDS
15 cp
$(DL_DIR
)/$(FAN_CTRL_SOURCE
) $(@D
)/fan-ctrl.c
18 define FAN_CTRL_BUILD_CMDS
19 $(TARGET_CC
) $(TARGET_CFLAGS
) $(TARGET_LDFLAGS
) \
20 $(@D
)/fan-ctrl.c
-o
$(@D
)/fan-ctrl
23 define FAN_CTRL_INSTALL_TARGET_CMDS
24 $(INSTALL
) -D
-m
755 $(@D
)/fan-ctrl
$(TARGET_DIR
)/usr
/sbin
/fan-ctrl
27 $(eval
$(generic-package
))