commit: ca254ff646587259e471c1254e034c20bc8e8217 Author: Kurt Kanzenbach <kurt <AT> kmk-computers <DOT> de> AuthorDate: Fri May 1 09:13:49 2020 +0000 Commit: Kurt Kanzenbach <kurt <AT> kmk-computers <DOT> de> CommitDate: Fri May 1 09:31:36 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ca254ff6
dev-embedded/rauc: Lightweight update client (new package) RAUC is a lightweight update client that runs on your Embedded Linux device and reliably controls the procedure of updating your device with a new firmware revision. RAUC is also the tool on your host system that lets you create, inspect and modify update artifacts for your device. Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Kurt Kanzenbach <kurt <AT> kmk-computers.de> dev-embedded/rauc/Manifest | 1 + dev-embedded/rauc/metadata.xml | 28 +++++++++++++++++++++++ dev-embedded/rauc/rauc-1.3.ebuild | 47 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 76 insertions(+) diff --git a/dev-embedded/rauc/Manifest b/dev-embedded/rauc/Manifest new file mode 100644 index 0000000..502637a --- /dev/null +++ b/dev-embedded/rauc/Manifest @@ -0,0 +1 @@ +DIST rauc-1.3.tar.xz 1336420 BLAKE2B 79d8cc081b7871a7c4cf7eee47c042cb57723c60dad0cfefcb194048fe1c9a52261e1ef037f397ec80e7c1f1690fd34e4ce44a2d7cb427a5a48632760215e48b SHA512 044f679f81c0af58d5620a16c3a0fd7bc8ae50dccc403dd26f201735e0d7488e485b84ac38329b5f091648ae1173088a4e14976f6d28ef185a07daed82cc5b65 diff --git a/dev-embedded/rauc/metadata.xml b/dev-embedded/rauc/metadata.xml new file mode 100644 index 0000000..699bca6 --- /dev/null +++ b/dev-embedded/rauc/metadata.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>[email protected]</email> + <name>Kurt Kanzenbach</name> + </maintainer> + <longdescription lang="en"> + RAUC is a lightweight update client that runs on your Embedded Linux device + and reliably controls the procedure of updating your device with a new + firmware revision. RAUC is also the tool on your host system that lets you + create, inspect and modify update artifacts for your device. + </longdescription> + <use> + <flag name="json"> + Add JSON support + </flag> + <flag name="network"> + Add network update support + </flag> + <flag name="service"> + Add dbus service + </flag> + </use> + <upstream> + <remote-id type="github">rauc/rauc</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-embedded/rauc/rauc-1.3.ebuild b/dev-embedded/rauc/rauc-1.3.ebuild new file mode 100644 index 0000000..3acfbf2 --- /dev/null +++ b/dev-embedded/rauc/rauc-1.3.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Lightweight update client that runs on your Embedded Linux device" +HOMEPAGE="https://rauc.io/" +SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz" + +SLOT="0" +LICENSE="LGPL-2.1" +KEYWORDS="~amd64 ~x86" +IUSE="doc json network service" + +BDEPEND=" + virtual/pkgconfig + doc? ( dev-python/sphinx ) +" +RDEPEND=" + dev-libs/glib:2 + dev-libs/openssl:0= + json? ( dev-libs/json-glib ) + network? ( net-misc/curl ) + service? ( sys-apps/dbus ) +" +DEPEND=" + ${RDEPEND} +" + +src_configure() { + local myconf=( + $(use_enable json) + $(use_enable network) + $(use_enable service) + ) + econf "${myconf[@]}" +} + +src_compile() { + default + use doc && emake doc +} + +src_install() { + use doc && local HTML_DOCS=( docs/build/html/. ) + default +}
