Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 2955E780E0E for ; Fri, 22 Oct 2021 17:13:17 +0000 (UTC) Received: from fews2.riseup.net (fews2-pn.riseup.net [10.0.1.84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4HbWBy37RszF4wG; Fri, 22 Oct 2021 10:13:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1634922794; bh=c5RboDezG20xv9uqwV/ZNqrlP/WQZVTs/eIp1NNdzeA=; h=From:To:Cc:Subject:Date:From; b=VAKHaC/c3EEVIyThBjMN9hii9WY+onNkEHTHZ4dxssdILHMwiS3Es5LAfBdw2yBrJ VhswpnxiltNxXIwEcGk4EWdTxtPn1cVxV5sn3VDdbGUHYqkG1BZnyJuvQWX4P1GKYw EuOhInOWhyTu4FTyiIRojWPT188rQfR/w8O9SVi0= X-Riseup-User-ID: A38A95110CD2E9CFAC7EEAB77D059E94CFEDFD2E0BD9D274DE4A2BF7857FF68A Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4HbWBx2Hz6z1xph; Fri, 22 Oct 2021 10:13:13 -0700 (PDT) From: catdevnull@riseup.net To: alpine-aports@lists.alpinelinux.org Cc: Nulo Subject: [PATCH] community/coreboot-ectool: add package Date: Fri, 22 Oct 2021 14:12:12 -0300 Message-Id: <20211022171212.17769-1-catdevnull@riseup.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Nulo --- community/coreboot-ectool/APKBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 community/coreboot-ectool/APKBUILD diff --git a/community/coreboot-ectool/APKBUILD b/community/coreboot-ectool/APKBUILD new file mode 100644 index 0000000000..a5c7a5f974 --- /dev/null +++ b/community/coreboot-ectool/APKBUILD @@ -0,0 +1,27 @@ +# Contributor: Nulo +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" +depends="" +makedepends="" +options="!check" +subpackages="" +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 +" -- 2.33.1