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:
Kurt Kanzenbach
2020-05-01 11:13:49 +02:00
parent 339d88a47c
commit ca254ff646
3 changed files with 76 additions and 0 deletions

View 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
}