diff options
author | Kurt Kanzenbach <kurt@kmk-computers.de> | 2020-05-01 11:13:49 +0200 |
---|---|---|
committer | Kurt Kanzenbach <kurt@kmk-computers.de> | 2020-05-01 11:31:36 +0200 |
commit | ca254ff646587259e471c1254e034c20bc8e8217 (patch) | |
tree | 15d3165673f346b131c020d8aba0c1c4eb17ad1d /dev-embedded | |
parent | dev-libs/octetos-core: many fixes (diff) | |
download | guru-ca254ff646587259e471c1254e034c20bc8e8217.tar.gz guru-ca254ff646587259e471c1254e034c20bc8e8217.tar.bz2 guru-ca254ff646587259e471c1254e034c20bc8e8217.zip |
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@kmk-computers.de>
Diffstat (limited to 'dev-embedded')
-rw-r--r-- | dev-embedded/rauc/Manifest | 1 | ||||
-rw-r--r-- | dev-embedded/rauc/metadata.xml | 28 | ||||
-rw-r--r-- | dev-embedded/rauc/rauc-1.3.ebuild | 47 |
3 files changed, 76 insertions, 0 deletions
diff --git a/dev-embedded/rauc/Manifest b/dev-embedded/rauc/Manifest new file mode 100644 index 000000000..502637aa6 --- /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 000000000..699bca6b9 --- /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>kurt@kmk-computers.de</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 000000000..3acfbf2f6 --- /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 +} |