[DRE-maint] copyright for setup.rb

Ryan Niebur ryanryan52 at gmail.com
Wed Jan 28 09:06:34 UTC 2009


On Wed, Jan 28, 2009 at 12:55:33AM -0800, Bryan McLellan wrote:
> On Wed, Jan 28, 2009 at 12:46 AM, Lucas Nussbaum
> <lucas at lucas-nussbaum.net> wrote:
> > On 28/01/09 at 00:38 -0800, Bryan McLellan wrote:
> >> When you have to add setup.rb from libsetup-ruby1.8 a package due to
> >> it missing, should you add the copyright information for setup.rb to
> >> debian/copyright?
> >
> > Why don't you just build-depends on libsetup-ruby1.8?
> 
> And "include /usr/share/ruby-pkg-tools/1/class/ruby-setup-rb.mk" ?
> 

why not just use it as "ruby /usr/lib/ruby/1.8/setup.rb"? you might
want to look at the cdbs classes from the ruby-pkg-tools package. they
will do this automatically for you.

just do this in debian/rules:
| include /usr/share/cdbs/1/rules/debhelper.mk
| include /usr/share/ruby-pkg-tools/1/class/ruby-common.mk
| include /usr/share/ruby-pkg-tools/1/class/ruby-setup-rb.mk

-- 
_________________________
Ryan Niebur
ryanryan52 at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20090128/33a2dc48/attachment.pgp 


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