Last active
December 25, 2015 11:29
-
-
Save maraca/6969199 to your computer and use it in GitHub Desktop.
Package Ruby 1.9.3-p448 with FPM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p448.tar.gz | |
| tar -xzvf ruby-1.9.3-p448.tar.gz | |
| cd ruby-1.9.3-p448/ | |
| ./configure --prefix=/usr && make && make install DESTDIR=/tmp/ruby-1.9.3 | |
| fpm -s dir -t deb -n ruby-1.9.3 -v 1.9.3-p448 \ | |
| --description "Self-packaged ruby 1.9.3" \ | |
| -C /tmp/ruby-1.9.3 -p ruby-VERSION_ARCH.deb \ | |
| -m '[email protected]' --vendor 'Cotap Inc.' \ | |
| --license 'Private' \ | |
| --url 'https://github.com/cotap' \ | |
| usr/bin usr/lib usr/share/man usr/include |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment