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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Tue Feb 20 12:19:44 2007 UTC (10 years, 11 months ago) by armin76
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +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.10.ebuild,v 1.3 2007/01/05 20:45:17 flameeyes Exp $
4
5 inherit ruby
6
7 DESCRIPTION="rbot is a ruby IRC bot"
8 HOMEPAGE="http://www.linuxbrit.co.uk/rbot/"
9
10 if [[ ${PV} != *_pre* ]]; then
11 SRC_URI="http://www.linuxbrit.co.uk/downloads/${P}.tgz"
12 else
13 SRC_URI="mirror://gentoo/${P}.tgz"
14 S="${WORKDIR}/${PN}-${PV%%_*}"
15 fi
16
17 LICENSE="as-is"
18 SLOT="0"
19 KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
20 IUSE="spell"
21
22 RDEPEND=">=virtual/ruby-1.8
23 dev-ruby/ruby-bdb"
24 DEPEND="${RDEPEND}"
25
26 src_install() {
27 ruby_src_install
28 sed -i -e "s:${D}:/:" "${D}"/usr/lib/ruby/site_ruby/*/rbot/pkgconfig.rb
29 }
30
31 pkg_postinst() {
32 elog
33 elog "Default configuration file location has changed from /etc/rbot to ~/.rbot"
34 elog
35 }

  ViewVC Help
Powered by ViewVC 1.1.20