summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChuck Short <zul@gentoo.org>2003-10-05 20:43:49 +0000
committerChuck Short <zul@gentoo.org>2003-10-05 20:43:49 +0000
commitb08ad2ec421ded541a2b8f90e28cb252bfd26063 (patch)
tree0c7a53513a5d8f1db3e891d00a56956797d489d7
parentInitial commit, closes #27846 (diff)
downloadhistorical-b08ad2ec421ded541a2b8f90e28cb252bfd26063.tar.gz
historical-b08ad2ec421ded541a2b8f90e28cb252bfd26063.tar.bz2
historical-b08ad2ec421ded541a2b8f90e28cb252bfd26063.zip
Initial commit, closes #27846
-rw-r--r--net-irc/rbot/Manifest4
-rw-r--r--net-irc/rbot/files/digest-rbot-0.9.61
-rw-r--r--net-irc/rbot/metadata.xml5
-rw-r--r--net-irc/rbot/rbot-0.9.6.ebuild44
4 files changed, 53 insertions, 1 deletions
diff --git a/net-irc/rbot/Manifest b/net-irc/rbot/Manifest
index 78b530ccaf47..d873a1a029e5 100644
--- a/net-irc/rbot/Manifest
+++ b/net-irc/rbot/Manifest
@@ -1,2 +1,4 @@
-MD5 8df6f706e6467570119b82ff7cdd043e rbot-0.9.6.ebuild 908
+MD5 4c00f8b4c0bcc6d5dafadfc7127a2c96 ChangeLog 361
+MD5 44c39c6ad372a8e5a5e7ee3311f703a7 metadata.xml 160
+MD5 8a438f018a57c4910142372271f12b4c rbot-0.9.6.ebuild 998
MD5 53971baa1052d065a78ed3a35daedd0b files/digest-rbot-0.9.6 62
diff --git a/net-irc/rbot/files/digest-rbot-0.9.6 b/net-irc/rbot/files/digest-rbot-0.9.6
new file mode 100644
index 000000000000..f68d0214a228
--- /dev/null
+++ b/net-irc/rbot/files/digest-rbot-0.9.6
@@ -0,0 +1 @@
+MD5 07a9c9fdc9cb6fa24aa9d875774e5c75 rbot-0.9.6.tar.gz 391726
diff --git a/net-irc/rbot/metadata.xml b/net-irc/rbot/metadata.xml
new file mode 100644
index 000000000000..6ef15e900f17
--- /dev/null
+++ b/net-irc/rbot/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>net-irc</herd>
+</pkgmetadata>
diff --git a/net-irc/rbot/rbot-0.9.6.ebuild b/net-irc/rbot/rbot-0.9.6.ebuild
new file mode 100644
index 000000000000..8dbf84fa8ab4
--- /dev/null
+++ b/net-irc/rbot/rbot-0.9.6.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/rbot/rbot-0.9.6.ebuild,v 1.1 2003/10/05 20:43:39 zul Exp $
+
+DESCRIPTION="rbot is a ruby IRC bot"
+HOMEPAGE="http://www.linuxbrit.co.uk/rbot/"
+SRC_URI="http://www.linuxbrit.co.uk/downloads/${P}.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="spell xml"
+
+DEPEND=">=dev-lang/ruby-1.6.8"
+RDEPEND="${DEPEND}
+ dev-ruby/ruby-bdb
+ dev-ruby/rexml
+ spell? ( app-text/ispell )"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ ruby -pi -e 'sub /rbotconf/, "/etc/rbot"' ${S}/rbot.rb || die
+}
+
+src_install() {
+ local SITERUBY=$(ruby -r rbconfig -e 'print Config::CONFIG["sitelibdir"]')
+
+ newbin rbot.rb rbot
+
+ dodir ${SITERUBY}
+ cp -a rbot ${D}${SITERUBY} || die
+
+ dodir /etc/rbot
+ cp -r rbotconf/* ${D}/etc/rbot || die
+
+ dodoc AUTHORS ChangeLog INSTALL REQUIREMENTS TODO
+ dohtml -r doc/*
+}
+
+pkg_postinst() {
+ einfo "Now edit your /etc/rbot/conf.rbot"
+}