/[gentoo-x86]/net-irc/rbot/rbot-0.9.7.ebuild
Gentoo

Contents of /net-irc/rbot/rbot-0.9.7.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations) (download)
Tue Feb 20 12:19:44 2007 UTC (11 years, 5 months ago) by armin76
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +1 -1 lines
FILE REMOVED
stable x86, remove old
(Portage version: 2.1.2-r10)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-irc/rbot/rbot-0.9.7.ebuild,v 1.10 2007/01/05 20:45:17 flameeyes Exp $
4
5 DESCRIPTION="rbot is a ruby IRC bot"
6 HOMEPAGE="http://www.linuxbrit.co.uk/rbot/"
7 SRC_URI="http://www.linuxbrit.co.uk/downloads/${P}.tar.gz"
8
9 LICENSE="as-is"
10 SLOT="0"
11 KEYWORDS="x86 ~ppc ~sparc ~amd64"
12 IUSE="doc spell"
13
14 RDEPEND=">=virtual/ruby-1.8
15 dev-ruby/ruby-bdb
16 spell? ( app-text/ispell )"
17 DEPEND="${RDEPEND}
18 >=sys-apps/sed-4"
19
20 src_unpack() {
21 unpack ${A}
22
23 sed -i -e s:rbotconf:/etc/rbot: ${S}/rbot.rb || die "sed failed"
24 }
25
26 src_install() {
27 local SITERUBY="$(ruby -r rbconfig -e 'print Config::CONFIG["sitelibdir"]')"
28
29 newbin rbot.rb rbot || die "newbin failed"
30
31 insinto "${SITERUBY}"
32 doins -r rbot || die "doins failed"
33
34 insinto /etc/rbot
35 doins rbotconf/* || die "doins failed"
36
37 dodoc AUTHORS ChangeLog INSTALL REQUIREMENTS TODO
38 use doc && dohtml -r doc/*
39 }
40
41 pkg_postinst() {
42 elog
43 elog "Now edit your /etc/rbot/conf.rbot"
44 elog
45 }

  ViewVC Help
Powered by ViewVC 1.1.20