You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.1 KiB
51 lines
1.1 KiB
5 years ago
|
# Copyright 1999-2019 Gentoo Authors
|
||
13 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
5 years ago
|
EAPI=7
|
||
6 years ago
|
|
||
13 years ago
|
DESCRIPTION="Scripts to treate diagrams of IRC networks using the LINKS command"
|
||
5 years ago
|
HOMEPAGE="http://pasky.or.cz/irc/"
|
||
|
SRC_URI="http://pasky.or.cz/irc/${PN}.tar.gz -> ${P}.tar.gz"
|
||
13 years ago
|
LICENSE="GPL-2"
|
||
|
SLOT="0"
|
||
5 years ago
|
KEYWORDS="~amd64 x86"
|
||
13 years ago
|
IUSE=""
|
||
|
|
||
5 years ago
|
RDEPEND="
|
||
|
media-gfx/graphviz
|
||
|
dev-lang/perl
|
||
|
"
|
||
|
BDEPEND="${RDEPEND}
|
||
|
>=sys-apps/sed-4
|
||
|
"
|
||
|
DEPEND=""
|
||
13 years ago
|
|
||
|
S="${WORKDIR}"/${PN}
|
||
|
|
||
|
src_compile() {
|
||
|
sed -i \
|
||
5 years ago
|
-e "s:/home/pasky/ircmap:/usr/share/ircmap:" \
|
||
13 years ago
|
{ircmapC,ircmapR-aa,ircmapR-gvdot,ircmapR-ircnet,ircmapS}.pl
|
||
|
}
|
||
|
|
||
|
src_install () {
|
||
|
dodoc README
|
||
|
dobin ircmapS.pl ircmapC.pl ircmapR-aa.pl ircmapR-gvdot.pl ircmapR-ircnet.pl
|
||
|
|
||
5 years ago
|
insinto /usr/share/ircmap
|
||
13 years ago
|
doins IHash.pm
|
||
|
}
|
||
|
|
||
|
pkg_postinst() {
|
||
|
elog 'Usage:'
|
||
|
elog 'IRCSERVER="irc.generic.com ircmapS.pl [-options parameters] \'
|
||
|
elog '| tee /tmp/sendmethisifitdoesntwork \'
|
||
|
elog '| ircmapC.pl \'
|
||
|
elog '| tee /tmp/coredump \'
|
||
|
elog '| ircmapR-aa.pl > ${IRCSERVER}.txt'
|
||
|
elog ''
|
||
|
elog 'cat /tmp/coredump \'
|
||
|
elog '| ircmapR-gvdot.pl \'
|
||
|
elog '| dot -Tgif -o ${IRCSERVER}.gif'
|
||
|
}
|