blob: 6a5c618c1fd979e62be8d00ec837ab7c6f00ebbd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
if [[ ${PV} = 9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/qca/open-plc-utils.git"
S=${WORKDIR}/open-plc-utils-${PV}
else
SRC_URI="https://github.com/qca/open-plc-utils/archive/v${PV}.tar.gz -> python-diamond-${PV}.tar.gz"
S=${WORKDIR}/open-plc-utils-${PV}
fi
DESCRIPTION="Qualcomm Atheros Open Powerline Toolkit. "
HOMEPAGE="https://github.com/qca/open-plc-utils"
KEYWORDS="~amd64 ~x86"
LICENSE="BSD"
SLOT="0"
IUSE="doc"
RDEPEND=""
DEPEND="${RDEPEND}"
src_install() {
emake ROOTFS="${D}" install || die "emake install failed"
emake ROOTFS="${D}" manuals || die "emake manuals failed"
use doc && dohtml -r docbook
}
|