Methods
Included Modules
Constants
SRC_DIRS | = | [ Dir.pwd, HOST_LIB ] |
Class Public methods
new(destdir)
Link
# File nacl/package.rb, line 20 def initialize(destdir) @destdir = destdir @manifest = { "files" => {} } ruby_libs.each do |path| raise "Collision of #{path}" if @manifest['files'].key? path @manifest['files'][path] = { ARCH => { "url" => path } } if path[/\.so$/] alternate_path = path.gsub('/', "_") raise "Collision of #{alternate_path}" if @manifest['files'].key? alternate_path @manifest['files'][alternate_path] = { ARCH => { "url" => path } } end end end
Instance Public methods
install_library(name, basename)
Link
install_program(basename)
Link