aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiklas Cathor <niklas.cathor@gmx.de>2020-11-13 17:30:51 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-11-14 11:21:19 +0000
commit58744d9943664cc0fad84d003ee371fb54c8c4b6 (patch)
tree6d8f37a268c3b8a1eb7ae8d69c216d9bee77c8c1
parentb9367f321fd4a4dc72d57eb6a95067dfe1cbc8fb (diff)
downloadaports-58744d9943664cc0fad84d003ee371fb54c8c4b6.tar.gz
aports-58744d9943664cc0fad84d003ee371fb54c8c4b6.tar.bz2
aports-58744d9943664cc0fad84d003ee371fb54c8c4b6.tar.xz
testing/powerstat: new aport
-rw-r--r--testing/powerstat/APKBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/powerstat/APKBUILD b/testing/powerstat/APKBUILD
new file mode 100644
index 0000000000..31b989565c
--- /dev/null
+++ b/testing/powerstat/APKBUILD
@@ -0,0 +1,24 @@
+# Contributor: Niklas Cathor <niklas.cathor@gmx.de>
+# Maintainer: Niklas Cathor <niklas.cathor@gmx.de>
+pkgname=powerstat
+pkgver=0.02.24
+pkgrel=0
+pkgdesc="tool to measure power consumption"
+url="https://kernel.ubuntu.com/~cking/powerstat/"
+arch="all"
+license="GPL-2.0-only"
+depends="linux-headers"
+subpackages="$pkgname-doc $pkgname-bash-completion"
+source="
+ $pkgname-$pkgver.tar.gz::https://kernel.ubuntu.com/~cking/tarballs/powerstat/powerstat-$pkgver.tar.gz
+"
+options="!check" # no tests
+
+build() {
+ make PEDANTIC=1
+}
+
+package() {
+ make install DESTDIR="$pkgdir"
+}
+sha512sums="b8e443efb7ab84ae0fed7583b2d501fd570ac0d0e568c40d166d3e172f2ded1c547f7ce0fdb3866de87faa013129e9d5e6e3af243eb0a9668c5b232e02840b8d powerstat-0.02.24.tar.gz"