Re: Bug#321009: ITP: liblocale-ruby -- extension to the Ruby intepreter for supporting locales
On Wed, Aug 03, 2005 at 08:59:41PM +0200, Philipp Kern wrote:
> On Aug 3, 2005, at 8:39 PM, Stephan Mueller wrote:
> >sorry, but what is a CDBS?
>
> A build system supposed to make Debian packaging easier (the `Common
> Debian Build System').
A good introduction/HOWTO by Marc Dequenes and Arnaud Patard:
https://perso.duckcorp.org/duck/cdbs-doc/cdbs-doc.xhtml
To elaborate some more on my ruby-setup class (which is still in development,
I am still learning :) ). It is usable for packages that use
setup.rb/install.rb as their install setup. The CDBS class reduces the
debian/rules a lot, an example:
----
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
include /home/paul/tmp/cdbs/ruby-setup.mk
# Multiple packages, install to debian/tmp, get it from there.
DEB_DH_INSTALL_SOURCEDIR = debian/tmp
# Generate documentation.
DEB_RUBY_RDOC_HTML_PROCESS = AUTHORS README bin lib
DEB_RUBY_RDOC_RI_PROCESS = lib
---
This will look in debian/control, build the packages for you.
Note that everything debhelper does is parameterized and still can be
modified/overriden. You still use debian/<package>.docs,
debian/<package>.install, etc.
Future features:
- detect whether documentation must be generated,
- install generated documentation (still required to do that via debhelper),
- automatically build -ruby1.8, -ruby1.9 packages and a rewrite to CDBS 2.
Paul
--
Student @ Eindhoven | email: paulvt@debian.org
University of Technology, The Netherlands | JID: paul@luon.net
>>> Using the Power of Debian GNU/Linux <<< | GnuPG key ID: 0x50064181
Reply to: