aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/softfan/softfan_0.10.bb
blob: b589d736bf9f92f1e0242b38a7a02a8aac7b9839 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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}${base_sbindir}
         install -m 0755 softfan ${D}${base_sbindir}/softfan
}