Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/terceiro/gem2deb
Set of tools to create Debian packages from Ruby software distributed with rubygems. This repository is a mirror, the official one is at https://salsa.debian.org/ruby-team/gem2deb/
https://github.com/terceiro/gem2deb
debian ruby
Last synced: about 15 hours ago
JSON representation
Set of tools to create Debian packages from Ruby software distributed with rubygems. This repository is a mirror, the official one is at https://salsa.debian.org/ruby-team/gem2deb/
- Host: GitHub
- URL: https://github.com/terceiro/gem2deb
- Owner: terceiro
- Created: 2011-01-09T15:35:06.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2023-02-10T16:50:07.000Z (almost 2 years ago)
- Last Synced: 2023-04-12T09:34:57.748Z (over 1 year ago)
- Topics: debian, ruby
- Language: Ruby
- Homepage:
- Size: 1.15 MB
- Stars: 6
- Watchers: 3
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
gem2deb is a set of tools to create Debian packages from Rubygems
The workflow looks like:
Download gem:
gem fetch foo
|
v
Create a tarball. It contains the gem spec as metadata.yml
gem2tgz foo-1.2.gem
|
v
Convert to a Debian source package with sane defaults:
dh-make-ruby foo-1.2.tar.gz
|
v
Modify, if needed
|
v
Build the package:
dpkg-buildpackage -us -ucAlternatively, you can use the gem2deb command, that tries to do
everything automatically.The generated Debian source package uses Debhelper with a specific build system
called "ruby". That buildsystem uses the dh_ruby tool for the various steps
(clean, build, test, install).Building from source and testing this package:
==============================================
# install build-dependencies, look at the Build-Depends line
# in debian/control# build the package
dpkg-buildpackage -us -uc
# install
sudo debi
# or simply: "rake install"Developers:
Lucas Nussbaum
Antonio TerceiroLicense: GPLv3 or later