summaryrefslogtreecommitdiff
path: root/packages/softfan/softfan_0.10.bb
blob: 34f00f01c99f2e80a6b7454d65bf1d98a00c0a2d (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}/sbin
         install -m 0755 softfan ${D}/sbin/softfan
}