aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNulo <git@nulo.in>2021-10-22 14:42:03 -0300
committerdispatch <dispatch@listserv.local>2021-10-22 17:43:01 +0000
commit1b7438041ace5765b919fec86dec2de67d8076c1 (patch)
treea1155106743144ee4b2e81e7c8a9ccc683b2f356
parent4b2fb8a21bcc650db827b21452fbdef000db3d21 (diff)
downloadaports-patches/3724.tar.gz
aports-patches/3724.tar.bz2
aports-patches/3724.tar.xz
community/coreboot-ectool: add packagepatches/3724
-rw-r--r--community/coreboot-ectool/APKBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/community/coreboot-ectool/APKBUILD b/community/coreboot-ectool/APKBUILD
new file mode 100644
index 0000000000..a79dfd1574
--- /dev/null
+++ b/community/coreboot-ectool/APKBUILD
@@ -0,0 +1,25 @@
+# Contributor: Nulo <alpine@nulo.in>
+pkgname=coreboot-ectool
+pkgver=4.14
+pkgrel=0
+pkgdesc="Dumps the RAM of a laptop’s Embedded/Environmental Controller (EC)."
+url="https://www.coreboot.org"
+arch="all"
+license="GPL-2.0-only"
+options="!check"
+arch="x86 x86_64"
+source="https://coreboot.org/releases/coreboot-$pkgver.tar.xz"
+builddir="$srcdir/coreboot-$pkgver/util/ectool/"
+
+build() {
+ make PREFIX="$pkgdir/usr" all
+}
+
+package() {
+ mkdir -p "$pkgdir/usr/sbin"
+ make PREFIX="$pkgdir/usr" install
+}
+
+sha512sums="
+14c615472dfe00682e4b0b41b6a04ed3b201395427350f7b53497152f2acc8cbef8144bad06517b413c4076422108bccab2e4732491f5e6fcc4703b14d062b19 coreboot-4.14.tar.xz
+"