easyblock = 'RubyGem'

name = 'FPM'
version = '1.3.3'

rubyver = '2.1.6'
versionsuffix = '-Ruby-%s' % rubyver

homepage = 'https://github.com/jordansissel/fpm'
description = """Effing package management! Build packages for multiple platforms (deb, rpm, etc) with great ease
 and sanity."""

toolchain = {'name': 'dummy', 'version': ''}

source_urls = ['http://rubygems.org/downloads/']
sources = ['%(namelower)s-%(version)s.gem']

dependencies = [('Ruby', rubyver)]

sanity_check_paths = {
    'files': ['bin/fpm'],
    'dirs': ['gems/%(namelower)s-%(version)s'],
}

moduleclass = 'tools'
