How to create recipe with 2 source tar files

15 views
Skip to first unread message

lfur...@mz.com

unread,
Sep 10, 2016, 9:37:36 PM9/10/16
to fpm-users
How would I add https://nodejs.org/dist/v4.5.0/node-v4.5.0-linux-x64.tar.xz as a second source file if I wanted to bundle it on the same rpm as statsd ? Assuming I have the recipe below:

class Statsd < FPM::Cookery::Recipe
  description 'Daemon for easy but powerful stats aggregation'

  name     'statsd'
  version  '0.8.0'
  revision 1
  md5      'e2f8ca60fad21301e3f4f9b92ff862e8'
  arch     'noarch'
  section  'databases'

  def build
  end

  def install
    opt("statsd").install Dir['bin', 'lib', 'utils', 'docs', 'backends', 'LICENSE', 'NOTICE', 'servers', '*.js']
  end
end
Reply all
Reply to author
Forward
0 new messages