summaryrefslogtreecommitdiff
path: root/app-misc/open-plc-utils/open-plc-utils-9999.ebuild
blob: 58a83a712dd7726fcd9f11a77603bea0422cea67 (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
31
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

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
}