summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Legler <a3li@gentoo.org>2013-10-21 17:08:11 +0000
committerAlex Legler <a3li@gentoo.org>2013-10-21 17:08:11 +0000
commit5dcc256dd2bff9a88aac353787cb5aceddb26aa7 (patch)
tree17c95a10fe4fceabd17cc4d895b26d1634d4b6ba /dev-ruby/tokyocabinet
parentCleanup. (diff)
downloadgentoo-2-5dcc256dd2bff9a88aac353787cb5aceddb26aa7.tar.gz
gentoo-2-5dcc256dd2bff9a88aac353787cb5aceddb26aa7.tar.bz2
gentoo-2-5dcc256dd2bff9a88aac353787cb5aceddb26aa7.zip
Initial commit; dependency of net-irc/rbot
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key 8E740238)
Diffstat (limited to 'dev-ruby/tokyocabinet')
-rw-r--r--dev-ruby/tokyocabinet/ChangeLog10
-rw-r--r--dev-ruby/tokyocabinet/metadata.xml5
-rw-r--r--dev-ruby/tokyocabinet/tokyocabinet-1.29.1.ebuild36
3 files changed, 51 insertions, 0 deletions
diff --git a/dev-ruby/tokyocabinet/ChangeLog b/dev-ruby/tokyocabinet/ChangeLog
new file mode 100644
index 000000000000..92da7007c11c
--- /dev/null
+++ b/dev-ruby/tokyocabinet/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-ruby/tokyocabinet
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tokyocabinet/ChangeLog,v 1.1 2013/10/21 17:08:11 a3li Exp $
+
+*tokyocabinet-1.29.1 (21 Oct 2013)
+
+ 21 Oct 2013; Alex Legler <a3li@gentoo.org> +tokyocabinet-1.29.1.ebuild,
+ +metadata.xml:
+ Initial commit; dependency of net-irc/rbot
+
diff --git a/dev-ruby/tokyocabinet/metadata.xml b/dev-ruby/tokyocabinet/metadata.xml
new file mode 100644
index 000000000000..852136183369
--- /dev/null
+++ b/dev-ruby/tokyocabinet/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ruby</herd>
+</pkgmetadata>
diff --git a/dev-ruby/tokyocabinet/tokyocabinet-1.29.1.ebuild b/dev-ruby/tokyocabinet/tokyocabinet-1.29.1.ebuild
new file mode 100644
index 000000000000..6e191fe86b87
--- /dev/null
+++ b/dev-ruby/tokyocabinet/tokyocabinet-1.29.1.ebuild
@@ -0,0 +1,36 @@
+# 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
+}