blob: 58a83a712dd7726fcd9f11a77603bea0422cea67 (
plain) (
tree)
|
|
# 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
}
|