powerstat: simplify and use do_build.
This commit is contained in:
parent
e01a814227
commit
78c2328bf0
|
@ -9,5 +9,7 @@ license="GPL-2"
|
|||
homepage="http://kernel.ubuntu.com/~cking/powerstat/"
|
||||
distfiles="http://kernel.ubuntu.com/~cking/tarballs/powerstat/powerstat-${version}.tar.gz"
|
||||
checksum=fbed92b3783a44d9e55203a5cdb2204fe8b9ac9ec91d5b86a83b7e148ca933bf
|
||||
# setting version fails, do it manually
|
||||
CFLAGS="-DVERSION=\\\"$version\\\""
|
||||
|
||||
do_build() {
|
||||
make CC=$CC ${makejobs}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue