# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/bcrypt-ruby/bcrypt-ruby-3.0.1.ebuild,v 1.11 2012/07/30 18:33:11 graaff Exp $ EAPI=2 USE_RUBY="ruby18 ruby19 ree18" RUBY_FAKEGEM_RECIPE_TEST="rspec" RUBY_FAKEGEM_TASK_DOC="" RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md" inherit multilib ruby-fakegem DESCRIPTION="An easy way to keep your users' passwords secure." HOMEPAGE="http://bcrypt-ruby.rubyforge.org/" LICENSE="MIT" KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" SLOT="0" IUSE="" all_ruby_prepare() { rm Gemfile || die sed -i -e '/git ls-files/d' bcrypt-ruby.gemspec || die } each_ruby_configure() { ${RUBY} -Cext/mri extconf.rb || die } each_ruby_compile() { emake -Cext/mri || die cp ext/mri/*$(get_modname) lib/ || die }