SwordArMor-gentoo-overlay/net-misc/bird-lg/bird-lg-2012.1.ebuild

36 lines
778 B
Bash
Raw Normal View History

2019-03-12 15:39:45 +01:00
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 )
inherit python-single-r1
DESCRIPTION="This is a looking glass for the Internet Routing Daemon BIRD"
HOMEPAGE="https://github.com/sileht/bird-lg"
SRC_URI="https://github.com/sileht/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND=">=dev-python/flask-0.8
dev-python/dnspython
dev-python/pydot
dev-python/python-memcached
media-gfx/graphviz
net-misc/whois
net-analyzer/traceroute"
RDEPEND="${DEPEND}"
src_install() {
insinto /opt/${PN}
doins *.py *.cfg lg.wsgi
doins -r static templates
exeinto /opt/${PN}
doexe lg.py
}