2022-11-15 21:17:58 +00:00
|
|
|
{%- block header -%}
|
|
|
|
# Copyright 2017-{{ this_year }} Gentoo Authors, projectmoon
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
# Auto-Generated by cargo-ebuild {{ cargo_ebuild_ver }}
|
|
|
|
{% endblock %}
|
|
|
|
EAPI={%- block eapi -%}7{%- endblock %}
|
|
|
|
|
|
|
|
{% block crates -%}
|
|
|
|
CRATES="
|
|
|
|
{% for crate in crates -%}
|
|
|
|
{{ crate }}
|
|
|
|
{%- endfor -%}"
|
|
|
|
{%- endblock %}
|
|
|
|
|
|
|
|
inherit {% block inherit -%}cargo{%- endblock %}
|
|
|
|
|
2024-03-17 14:08:20 +00:00
|
|
|
EC_VERSION="l14-shutoff-202403"
|
2022-11-15 21:17:58 +00:00
|
|
|
|
|
|
|
DESCRIPTION={%- block description -%}"{{ description | trim }}"{%- endblock %}
|
|
|
|
HOMEPAGE="https://source.puri.sm/firmware/librem-ec//-/tree//tool"
|
|
|
|
SRC_URI={%- block src_uri -%}{% raw -%}"
|
|
|
|
$(cargo_crate_uris ${CRATES})
|
|
|
|
https://source.puri.sm/firmware/librem-ec/-/archive/${EC_VERSION}/librem-ec-${EC_VERSION}.tar.gz -> ${P}.tar.gz
|
|
|
|
"{%- endraw %}{%- endblock %}
|
|
|
|
|
|
|
|
LICENSE="MIT"
|
|
|
|
SLOT={%- block slot -%}"0"{%- endblock %}
|
|
|
|
KEYWORDS={%- block keyword -%}"~amd64"{%- endblock %}
|
|
|
|
{% block variables -%}
|
|
|
|
S="${WORKDIR}/librem-ec-${EC_VERSION}/tool"
|
|
|
|
RESTRICT="mirror"
|
|
|
|
{%- endblock %}
|
|
|
|
|
|
|
|
{%- block phases -%}
|
|
|
|
{%- endblock -%}
|