aboutsummaryrefslogtreecommitdiffstats
path: root/packages/cpuspeed/cpuspeed_1.1.bb
blob: f27df18992f9b89d71df34ef3555c8bc161e2872 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
DESCRIPTION = "Userspace cpufreq governor"
SECTION = "base"
PRIORITY = "optional"
LICENSE = "GPL"

SRC_URI = "http://carlthompson.net/dl/cpuspeed/cpuspeed-${PV}.tar.gz"
S = "${WORKDIR}/cpuspeed-${PV}"

FILES_${PN} = "/sbin/cpuspeed"

do_compile() {
	${CXX} ${TARGET_CXXFLAGS} ${LDFLAGS} -o cpuspeed cpuspeed.cc
}

do_install() {
	install -d ${D}/${base_sbindir}
	install -m 0755 cpuspeed ${D}/${base_sbindir}/cpuspeed
}