summaryrefslogtreecommitdiff
path: root/packages/softfan/softfan_0.10.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/softfan/softfan_0.10.bb')
-rw-r--r--packages/softfan/softfan_0.10.bb17
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/softfan/softfan_0.10.bb b/packages/softfan/softfan_0.10.bb
index e69de29bb2..34f00f01c9 100644
--- a/packages/softfan/softfan_0.10.bb
+++ b/packages/softfan/softfan_0.10.bb
@@ -0,0 +1,17 @@
+DESCRIPTION = "Fan controller for fans attached to parallel port"
+SECTION = "base"
+PRIORITY = "optional"
+LICENSE = "GPL"
+SRC_URI = "http://joshuawise.com/code/softfan/softfan-${PV}.tar.gz"
+S = "${WORKDIR}/softfan-${PV}"
+
+FILES_${PN} = "/sbin/softfan"
+
+do_compile() {
+ ${CC} ${CFLAGS} ${LDFLAGS} -o softfan softfan.c
+}
+
+do_install() {
+ install -d ${D}/sbin
+ install -m 0755 softfan ${D}/sbin/softfan
+}