mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 19:13:13 -04:00
dev-embedded/rauc: Use docs eclass
That one takes care of everything regarding the documentation. Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de>
This commit is contained in:
@@ -3,6 +3,11 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
DOCBUILDER="sphinx"
|
||||
DOCDIR="${S}/docs"
|
||||
|
||||
inherit docs
|
||||
|
||||
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"
|
||||
@@ -10,13 +15,12 @@ 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 test"
|
||||
IUSE="json network service test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
doc? ( dev-python/sphinx )
|
||||
test? ( sys-fs/squashfs-tools )
|
||||
"
|
||||
RDEPEND="
|
||||
@@ -40,13 +44,3 @@ src_configure() {
|
||||
)
|
||||
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