projectmoon-overlay/sys-apps/purism_ectool/purism_ectool-9999.ebuild

45 lines
927 B
Bash

# Copyright 2017-2024 Gentoo Authors, projectmoon
# Distributed under the terms of the GNU General Public License v2
# Auto-Generated by cargo-ebuild 0.5.4-r1
EAPI=7
CRATES="
ansi_term@0.11.0
atty@0.2.14
bitflags@1.2.1
cc@1.0.67
clap@2.33.3
downcast-rs@1.2.0
hermit-abi@0.1.18
hidapi@1.2.5
libc@0.2.89
pkg-config@0.3.19
redox_hwio@0.1.3
strsim@0.8.0
textwrap@0.11.0
unicode-width@0.1.8
vec_map@0.8.2
winapi@0.3.9
winapi-i686-pc-windows-gnu@0.4.0
winapi-x86_64-pc-windows-gnu@0.4.0
"
inherit cargo
EC_VERSION="l14-freeze-202404-test-20240425"
DESCRIPTION="Purism Librem EC tool"
HOMEPAGE="https://source.puri.sm/firmware/librem-ec//-/tree//tool"
SRC_URI="
$(cargo_crate_uris ${CRATES})
https://source.puri.sm/firmware/librem-ec/-/archive/${EC_VERSION}/librem-ec-${EC_VERSION}.tar.gz -> ${P}.tar.gz
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
S="${WORKDIR}/librem-ec-${EC_VERSION}/tool"
RESTRICT="mirror"