Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75549 - Ebuild for jabber4r
Summary: Ebuild for jabber4r
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement
Assignee: Gentoo Net-im project
URL: http://jabber4r.rubyforge.org
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2004-12-24 06:48 UTC by Alexandre CLERICI
Modified: 2005-08-15 06:08 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild for jabber4r (jabber4r-0.6.0.ebuild,1.02 KB, text/plain)
2004-12-24 06:50 UTC, Alexandre CLERICI
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre CLERICI 2004-12-24 06:48:50 UTC
An ebuild to install the jabber4r, a ruby jabber client library
Install also some doc based on rdoc

Should be in dev-ruby/jabber4r

My first ebuild, hope will work fine
Comment 1 Alexandre CLERICI 2004-12-24 06:50:06 UTC
Created attachment 46790 [details]
ebuild for jabber4r
Comment 2 Alexandre CLERICI 2004-12-24 06:57:08 UTC
Comment on attachment 46790 [details]
ebuild for jabber4r

># Copyright 1999-2004 Gentoo Foundation
># Distributed under the terms of the GNU General Public License v2
># Made by Alexandre CLERICI
>
>inherit ruby
>
>DESCRIPTION="A jabber client library for ruby"
>HOMEPAGE="http://jabber4r.rubyforge.org"
>SRC_URI="http://rubyforge.org/download.php/376/${P}.tar.gz"
>LICENSE="BSD-type"
>SLOT="0"
>KEYWORDS="~alpha ~hppa ~mips ~sparc ~x86 ~ppc ~amd64 ~ppc64"
>IUSE=""
>USE_RUBY="ruby18"
>DEPEND="virtual/ruby"
>S=${WORKDIR}/jabber4r
>
>src_compile() {
>	cd ${S}
>	#needed or will fail with ruby > 1.8.1
>	sed "s/.site\_libdir \!/\/\$Site_libdir\/ \!/" install.rb -i
>}
>
>src_install() {
>	echo -e "18,19d17\n< \$site_libdir = \"/var/tmp/portage/jabber4r-0.6.0/image/\"+\$site_libdir\n< " |patch -R install.rb
>	ruby install.rb  || die
>	dodoc README lib/jabber4r/LICENSE.txt
>	insinto /usr/share/doc/${P}
>	docinto example/
>	dodoc example/*
>	docinto /hmtl/
>	rdoc lib/jabber4r/*.rb
>	doins doc/*
>}
Comment 3 Nikolas 'Atrus' Coukouma 2005-03-12 12:19:43 UTC
The line
	doins doc/*
should be:
	dohtml -r doc/*

So 1) it's placed in html/ and 2) it's copied recursively
Comment 4 Michael Kohl (RETIRED) gentoo-dev 2005-08-15 06:08:37 UTC
Afgter more than 17 month since the last release, jabber4r-0.8.0 was released
today. I've already commited an ebuild to CVS, enjoy!