diff options
Diffstat (limited to 'net-irc/ircstats/ircstats-1.1-r1.ebuild')
-rw-r--r-- | net-irc/ircstats/ircstats-1.1-r1.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/net-irc/ircstats/ircstats-1.1-r1.ebuild b/net-irc/ircstats/ircstats-1.1-r1.ebuild new file mode 100644 index 000000000000..8beaf6a9a835 --- /dev/null +++ b/net-irc/ircstats/ircstats-1.1-r1.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 + +MY_P="IRCStats-${PV}" + +DESCRIPTION="IRCStats tries to be a log analyzer for Linux similar to mIRCStats" +HOMEPAGE="http://humdi.net/ircstats/" +SRC_URI="http://humdi.net/ircstats/${MY_P}.tgz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="" + +S="${WORKDIR}"/${MY_P} + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake failed" +} + +src_install() { + dobin ircstats || die "dobin failed" + + insinto /usr/share/ircstats + doins -r html languages colors || die "doins failed" + + dodoc CHANGES README TODO ircstats.cfg || die "dodoc failed" +} + +pkg_postinst() { + elog "The IRCStats files have been installed in /usr/share/ircstats" + elog "You can find an example ircstats.cfg in /usr/share/doc/${PF}" +} |