projectmoon-overlay/sys-apps/purism_ectool/purism_ectool.tera

37 lines
1.0 KiB
Plaintext
Raw Permalink Normal View History

{%- 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 %}
EC_VERSION="1.11"
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 -%}