gentoo-full-overlay/dev-ruby/tokyocabinet/tokyocabinet-1.29.1.ebuild

36 lines
691 B
Bash

# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tokyocabinet/tokyocabinet-1.29.1.ebuild,v 1.1 2013/10/21 17:08:11 a3li Exp $
EAPI=5
USE_RUBY="ruby18 ruby19 ruby20"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_TASK_TEST=""
inherit ruby-fakegem
DESCRIPTION="Ruby bindings for Tokyo Cabinet"
HOMEPAGE="http://fallabs.com/tokyocabinet/"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
SLOT="0"
IUSE=""
RDEPEND+="dev-db/tokyocabinet"
each_ruby_configure() {
${RUBY} extconf.rb || die
}
each_ruby_compile() {
emake V=1
}
each_ruby_install() {
emake install DESTDIR="${D}"
each_fakegem_install
}