summaryrefslogtreecommitdiff
path: root/recipes/cpuspeed/cpuspeed_1.1.bb
blob: 9e3a67b2690fdc4c1602f2cc67aa59c266a5f569 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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
}


SRC_URI[md5sum] = "ed3972d0e4f77c0278e336392be47c65"
SRC_URI[sha256sum] = "93da5b3a30c5c7c06583635e5b93e9f04f687c01a044779872a29050c4f860e8"