[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

dh_rubygems.rb



I made rubygems.deb and dh_rubygems.rb experimentally.  The
dh_rubygmes.rb is a helper tools for creating a deb package from a
gem.  It works like dh_make.

  Ex:
  (get termios-0.9.4.gem)
  $ ruby dh_rubygems.rb termios-0.9.4.gem
  $ cd rubygems-termios-0.9.4
  (edit debian/*)
  $ debuild -uc -us -sa
  $ cd ..
  $ ls rubygems-termios*(.)
  rubygems-termios_0.9.4-0+0akira.1.diff.gz
  rubygems-termios_0.9.4-0+0akira.1.dsc
  rubygems-termios_0.9.4-0+0akira.1_i386.build
  rubygems-termios_0.9.4-0+0akira.1_i386.changes
  rubygems-termios_0.9.4-0+0akira.1_i386.deb
  rubygems-termios_0.9.4.orig.tar.gz
  $ sudo dpkg --install rubygems-termios_0.9.4-0+0akira.1_i386.deb

Note: the deb package only works with my experimental rubygems.deb.
Because it depends on the directory layout of the package.

Note: I tested it by only 3 or 4 gems.

2 files are in <URL:http://people.debian.org/~akira/rubygems/>.


Thank you.
-- 
akira yamada       <URL:http://arika.org>



Reply to: