mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
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>
This commit is contained in:
1
dev-embedded/rauc/Manifest
Normal file
1
dev-embedded/rauc/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST rauc-1.3.tar.xz 1336420 BLAKE2B 79d8cc081b7871a7c4cf7eee47c042cb57723c60dad0cfefcb194048fe1c9a52261e1ef037f397ec80e7c1f1690fd34e4ce44a2d7cb427a5a48632760215e48b SHA512 044f679f81c0af58d5620a16c3a0fd7bc8ae50dccc403dd26f201735e0d7488e485b84ac38329b5f091648ae1173088a4e14976f6d28ef185a07daed82cc5b65
|
||||
28
dev-embedded/rauc/metadata.xml
Normal file
28
dev-embedded/rauc/metadata.xml
Normal file
@@ -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>
|
||||
47
dev-embedded/rauc/rauc-1.3.ebuild
Normal file
47
dev-embedded/rauc/rauc-1.3.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user