#!/usr/bin/make -f

export GEM2DEB_TEST_RUNNER = --check-dependencies
export DH_RUBY = --gem-install

%:
	dh $@ --buildsystem=ruby --with ruby

# Because libruby* depends on this package, and we need to have it be
# cross-installable, this package cannot depend on the ruby interpreter.
execute_after_dh_ruby_fixdepends:
	sed -i -e '/^shlibs:Depends=/ { s/ruby\s*([^\)]*),\?//g }' debian/ruby-sdbm.substvars
