summaryrefslogtreecommitdiff
path: root/packages/softfan/softfan_0.10.bb
blob: aab8d4a28b7d48a00ff3547750a238064e7df0e7 (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
}