mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 14:49:30 -07:00
Just needed to drop a misplaced 'default'! Closes: https://bugs.gentoo.org/727776 Closes: https://bugs.gentoo.org/724972 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Sam James <sam@gentoo.org>
34 lines
741 B
Bash
34 lines
741 B
Bash
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
inherit 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() {
|
|
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 ${EROOT}/usr/share/ircstats"
|
|
elog "You can find an example ircstats.cfg in ${EROOT}/usr/share/doc/${PF}"
|
|
}
|