1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/gdbm/gdbm.gemspec
Lars Kanis 22d36c463f [ruby/gdbm] Add dependency to gdbm package on mingw
RubyInstaller2 supports metadata tags for installation of dependent
MSYS2/MINGW libraries. The openssl gem requires the mingw-openssl
package to be installed on the system, which the gem installer takes
care about, when this tag is set.

The feature is documented here:
https://github.com/oneclick/rubyinstaller2/wiki/For-gem-developers#msys2-library-dependency

Fixes https://github.com/oneclick/rubyinstaller2/issues/163

https://github.com/ruby/gdbm/commit/d95eed3e86
2021-04-27 20:54:07 +09:00

22 lines
741 B
Ruby

# coding: utf-8
# frozen_string_literal: true
Gem::Specification.new do |spec|
spec.name = "gdbm"
spec.version = "2.1.0"
spec.authors = ["Yukihiro Matsumoto"]
spec.email = ["matz@ruby-lang.org"]
spec.summary = "Ruby extension for GNU dbm."
spec.description = "Ruby extension for GNU dbm."
spec.homepage = "https://github.com/ruby/gdbm"
spec.licenses = ["Ruby", "BSD-2-Clause"]
spec.files = ["ext/gdbm/extconf.rb", "ext/gdbm/gdbm.c"]
spec.bindir = "exe"
spec.executables = []
spec.require_paths = ["lib"]
spec.extensions = ["ext/gdbm/extconf.rb"]
spec.required_ruby_version = ">= 2.3.0"
spec.metadata["msys2_mingw_dependencies"] = "gdbm"
end