diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-analyzer/bwmon/bwmon-1.3-r2.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-analyzer/bwmon/bwmon-1.3-r2.ebuild')
-rw-r--r-- | net-analyzer/bwmon/bwmon-1.3-r2.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/net-analyzer/bwmon/bwmon-1.3-r2.ebuild b/net-analyzer/bwmon/bwmon-1.3-r2.ebuild new file mode 100644 index 000000000000..3b4912656104 --- /dev/null +++ b/net-analyzer/bwmon/bwmon-1.3-r2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils toolchain-funcs + +DESCRIPTION="Simple ncurses bandwidth monitor" +HOMEPAGE="http://bwmon.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +RDEPEND="sys-libs/ncurses" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig +" + +SLOT="0" +LICENSE="GPL-2 public-domain" +KEYWORDS="amd64 hppa ppc sparc x86" + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-build.patch \ + "${FILESDIR}"/${P}-typo-fix.patch \ + "${FILESDIR}"/${P}-overflow.patch \ + "${FILESDIR}"/${P}-tinfo.patch +} + +src_compile() { + emake -C src CC="$(tc-getCC)" PKG_CONFIG="$(tc-getPKG_CONFIG)" +} + +src_install () { + dobin ${PN} + dodoc README +} |