net-irc/ircstats: version bump.
authorPatrice Clement <monsieurp@gentoo.org>
Thu, 14 Feb 2019 22:56:48 +0000 (23:56 +0100)
committerPatrice Clement <monsieurp@gentoo.org>
Fri, 15 Feb 2019 23:11:47 +0000 (00:11 +0100)
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

net-irc/ircstats/Manifest
net-irc/ircstats/ircstats-1.2.ebuild [new file with mode: 0644]

index bdeee809b3a1da9b546904e0dbb90a7d3bbde8ec..fd4c016ed94f99e671dfc024e7071364a137ad9b 100644 (file)
@@ -1 +1,2 @@
 DIST IRCStats-1.1.tgz 47781 BLAKE2B dd37a9c27fb2072d8edb77eda07e3bcf197e7c43d624d60899fb3fea229e5efc6e0b4b49167aa18f2c6360680be3f56364696ec26865dd50b4bd5de13ae07147 SHA512 009beb7b0aac9138aed6f55131498eefcb004e4478e241dc17ce98b89af607b2599e8ab6879eb1dcd11c6cffad27ded3058bb875eb6516a87c830ed1eda5fe83
+DIST IRCStats-1.2.tgz 48036 BLAKE2B ecdfd2be915f60af81d907b2347dba9c45e47416c4777d623d4cee04111a8dc57e35e31d303eab53a4424004e7ef57ebfef3b48c484fc27959807a302512d45c SHA512 195c0b5e954526d7c55eee74172db4d55487bc415eea393a780fdfce0886fd4ebc523309b4dbb1db0a2f5eb5d941db7d71e57234b75b11650ead30aa31017b03
diff --git a/net-irc/ircstats/ircstats-1.2.ebuild b/net-irc/ircstats/ircstats-1.2.ebuild
new file mode 100644 (file)
index 0000000..d503450
--- /dev/null
@@ -0,0 +1,34 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils toolchain-funcs
+
+MY_P="IRCStats-${PV}"
+
+DESCRIPTION="IRCStats is a Linux log analyzer"
+HOMEPAGE="https://humdi.net/ircstats/"
+SRC_URI="https://humdi.net/ircstats/${MY_P}.tgz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+S="${WORKDIR}"/${MY_P}
+
+src_compile() {
+       default
+       emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
+}
+
+src_install() {
+       dobin ircstats
+       insinto /usr/share/ircstats
+       doins -r html languages colors
+       dodoc CHANGES README TODO ircstats.cfg
+}
+
+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}"
+}