[Pkg-ruby-extras-maintainers] r164 - website/src

Esteban Manchado Velázquez zoso at costa.debian.org
Sat Dec 3 22:57:28 UTC 2005


Author: zoso
Date: 2005-12-03 22:57:28 +0000 (Sat, 03 Dec 2005)
New Revision: 164

Modified:
   website/src/20.create.en.page
Log:
- Added a little text on creating Ruby packages with the CDBS class


Modified: website/src/20.create.en.page
===================================================================
--- website/src/20.create.en.page	2005-12-03 22:54:06 UTC (rev 163)
+++ website/src/20.create.en.page	2005-12-03 22:57:28 UTC (rev 164)
@@ -10,6 +10,27 @@
 
 h3. Using CDBS
 
+First of all, the CDBS class is only for libraries using setup.rb (or
+install.rb). If the library you want to package doesn't use setup.rb, you'll
+have to either (1) add it yourself and make sure it works as expected, or (2)
+simply not use the class and package manually.
+
+If you want to use the CDBS class, you have to depend on ruby-pkg-tools. Then,
+in your debian/rules, you'll have to include it, and uploaders.mk if you are in
+the Ruby maintainers team. If you also include debhelper.mk, your rules will
+resemble this example:
+
+<pre><code>
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/ruby-pkg-tools/1/class/ruby-setup-rb.mk
+include /usr/share/ruby-pkg-tools/1/rules/uploaders.mk
+</code></pre>
+
+There are a number of configuration variables you can set. For more
+information, see the "CDBS class information page":ruby-pkg-tools/cdbs.html.
+
 h3. Using Debhelper Directly
 
 h3. Adding the Package to the Subversion Repository




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