net-irc/pisg - 0.73 (gentoo)

Search

Install

Install this version:

emerge -a =net-irc/pisg-0.73

Package Information

Description:
Perl IRC Statistics Generator
Homepage:
http://pisg.sourceforge.net/
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
0.73 7 amd64 ppc x86 0
View Raw Ebuild
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit perl-module

DESCRIPTION="Perl IRC Statistics Generator"
HOMEPAGE="http://pisg.sourceforge.net/"
SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"

RDEPEND="dev-perl/Text-Iconv"

src_prepare() {
	default

	sed -i \
		-e 's!lang\.txt!/usr/share/pisg/lang.txt!' \
		-e 's!layout/!/usr/share/pisg/layout/!' \
		modules/Pisg.pm || die "sed failed"
}

src_install() {
	perl_set_version

	dobin pisg

	insinto "${VENDOR_LIB}"
	doins -r modules/.

	insinto /usr/share/pisg
	doins -r gfx layout lang.txt

	dodoc docs/{FORMATS,pisg-doc.txt} \
		docs/dev/API pisg.cfg README
	doman docs/pisg.1

	docinto html
	dodoc docs/pisg-doc.html
}

pkg_postinst() {
	einfo "The pisg images have been installed in /usr/share/pisg/gfx"
}

Inherited Eclasses

Dependencies

RDEPEND

dev-perl/Text-Iconv

Manifest for 0.73

Type File Size Source URLs
DIST pisg-0.73.tar.gz 236539 bytes https://downloads.sourceforge.net/pisg/pisg-0.73.tar.gz