Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 201C1780DF9 for ; Fri, 22 Oct 2021 17:42:58 +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 4HbWsD6yzTzF4jl; Fri, 22 Oct 2021 10:42:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1634924577; bh=hNchz5d5sqSJkQ3UhGfNC2OgLR78aBbEJbZi8YxriTQ=; h=From:To:Cc:Subject:Date:From; b=hDqCRLIUr6bvpdMrBrXDLz521JefPT3whmsgyjoCSd5avFsleOCVjOPrNjxb2QHSH gQ7pQAx/zTrrAWUNiu3704E56X9dBBT7tOEZy3nb+GwvWHRvQsL4KJj8Js7BYuwfaP mJB3DHRDQW8/YtgcVbP6oNRF4QQg1Wjlr9Of6wXs= X-Riseup-User-ID: 9E00F7CA6403DA297DBBCD66CA46D71C5FD20CE24995BFC339CA2DD4B9EE339C Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4HbWsD0KzQz1xph; Fri, 22 Oct 2021 10:42:55 -0700 (PDT) From: catdevnull@riseup.net To: alpine-aports@lists.alpinelinux.org Cc: Nulo Subject: [PATCH v2] community/coreboot-ectool: add package Date: Fri, 22 Oct 2021 14:42:03 -0300 Message-Id: <20211022174203.25542-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 | 25 +++++++++++++++++++++++++ 1 file changed, 25 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..a79dfd1574 --- /dev/null +++ b/community/coreboot-ectool/APKBUILD @@ -0,0 +1,25 @@ +# 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" +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 +" -- 2.33.1