diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-08-18 18:16:17 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-08-18 18:16:17 +0100 |
commit | fc637fb28da700da71ec2064d65ca5a7a31b9c6c (patch) | |
tree | 326613a08f25851c388715e205576a2e7d25dc4f /net-irc/ircmap/ircmap-0.99-r1.ebuild | |
parent | b24bd25253fe093f722ab576d29fdc41d04cb1ee (diff) |
gentoo resync : 18.08.2019
Diffstat (limited to 'net-irc/ircmap/ircmap-0.99-r1.ebuild')
-rw-r--r-- | net-irc/ircmap/ircmap-0.99-r1.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/net-irc/ircmap/ircmap-0.99-r1.ebuild b/net-irc/ircmap/ircmap-0.99-r1.ebuild new file mode 100644 index 000000000000..05d3f133fb3d --- /dev/null +++ b/net-irc/ircmap/ircmap-0.99-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Scripts to treate diagrams of IRC networks using the LINKS command" +HOMEPAGE="http://pasky.or.cz/irc/" +SRC_URI="http://pasky.or.cz/irc/${PN}.tar.gz -> ${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 x86" +IUSE="" + +RDEPEND=" + media-gfx/graphviz + dev-lang/perl +" +BDEPEND="${RDEPEND} + >=sys-apps/sed-4 +" +DEPEND="" + +S="${WORKDIR}"/${PN} + +src_compile() { + sed -i \ + -e "s:/home/pasky/ircmap:/usr/share/ircmap:" \ + {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 + + insinto /usr/share/ircmap + 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' +} |