Skip to content

Commit

Permalink
Add net-analyzer/nagstamon-0.9.10
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.1.12.2
  • Loading branch information
ekohl committed Jul 18, 2013
1 parent a835734 commit e512214
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 0 deletions.
1 change: 1 addition & 0 deletions net-analyzer/nagstamon/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST Nagstamon-0.9.10.tar.gz 396013 SHA256 031df1e9327013e705d86a767567c16d7445524c26ff73e7d29b1888c00828be SHA512 38d3e1b8eee5bbe38a24253d95a7b2b3a33b22b60dd77d410459c41a1623cb9692988e0eec38624a860df8b318c1df1d78858b02bed7b24cfb883d0c1869a1ff WHIRLPOOL b9d094296371225977cafea6144807226ad123929a6d44e9ee4f8b114524fcd6d5edef27d9d0a961351589bc91d9389d603d356ae266ecfee9e354386a114506
12 changes: 12 additions & 0 deletions net-analyzer/nagstamon/files/nagstamon.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Type=Application
Name=Nagstamon
GenericName=Nagios status monitor
Comment=Quick status overview of your Nagios monitoring system
Exec=nagstamon
Icon=/usr/share/nagstamon/resources/nagstamon.png
Terminal=false
Categories=System;
StartupNotify=true
3 changes: 3 additions & 0 deletions net-analyzer/nagstamon/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata />
43 changes: 43 additions & 0 deletions net-analyzer/nagstamon/nagstamon-0.9.10.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="5"

PYTHON_COMPAT=( python{2_6,2_7} )

inherit eutils distutils-r1

MY_PN="Nagstamon"
MY_P="${MY_PN}-${PV/_/-}"

DESCRIPTION="Nagstamon is a Nagios status monitor for a systray and displays a realtime status of a Nagios box"
HOMEPAGE="http://nagstamon.ifw-dresden.de"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="gnome sound"

DEPEND="${PYTHON_DEPS}"
RDEPEND="${DEPEND}
dev-python/pygtk[${PYTHON_USEDEP}]
dev-python/lxml[${PYTHON_USEDEP}]
dev-python/beautifulsoup:python-2[${PYTHON_USEDEP}]
gnome-base/librsvg
gnome? ( dev-python/egg-python )
sound? ( media-sound/sox )"

S="${WORKDIR}/${MY_P}"

src_prepare() {
rm Nagstamon/resources/LICENSE
rm Nagstamon/BeautifulSoup.py
}

src_install() {
domenu "${FILESDIR}"/${PN}.desktop

distutils-r1_src_install
}

0 comments on commit e512214

Please sign in to comment.