[DRE-maint] Packaging setup.rb?

Paul van Tilburg paulvt at debian.org
Fri Nov 9 09:46:05 UTC 2007


On Thu, Nov 08, 2007 at 03:48:29PM -0600, Gunnar Wolf wrote:
> Antonio Terceiro dijo [Thu, Nov 08, 2007 at 04:04:35PM -0300]:
> > Specially because setup.rb in its current version does not work if the
> > setup.rb file is not in the same directory as the sources, i.e. you
> > can't do `ruby /usr/lib/ruby/1.8/setup.rb install`.
> > 
> > We need to either patch it to make it work by looking in the current
> > directory instead of the directory where setup.rb is (better), or to
> > copy setup.rb into the sources dir before building and removing it
> > after.
> 
> Of course - but we can symlink it. We could even make it part of our
> cdbs class - If no ./setup.rb is found, then at the beginning of the
> build phase we can 'ln -s /usr/lib/ruby/1.8/setup.rb setup.rb', and
> remove it in clean if it is a symlink. What do you think?

This doesn't work in the case that the upstream source has an old
setup.rb.

Paul

-- 
PhD Student @ Eindhoven                     | email: paulvt at debian.org
University of Technology, The Netherlands   | JID: paul at luon.net
>>> Using the Power of Debian GNU/Linux <<< | GnuPG key ID: 0x50064181



More information about the Pkg-ruby-extras-maintainers mailing list