# 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.7 2012/02/06 16:10:02 ranger Exp $ EAPI=2 USE_RUBY="ruby18 ruby19 ree18" RUBY_FAKEGEM_TASK_TEST="spec" 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 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" SLOT="0" IUSE="" ruby_add_bdepend "test? ( dev-ruby/rspec:2 )" all_ruby_prepare() { rm Gemfile || die } each_ruby_configure() { ${RUBY} -Cext/mri extconf.rb || die } each_ruby_compile() { emake -Cext/mri || die cp ext/mri/*$(get_modname) lib/ || die }