summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2004-07-23 22:55:34 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2004-07-23 22:55:34 +0000
commit15d8deff38f10e91fc76278eedd166fa27969955 (patch)
tree907a5528400b6eeb10f6c0205a2f46a095f0f89e /dev-ruby
parentInitial import, ebuild submitted by Alastair Murray <alastairmurray@hotmail.c... (diff)
downloadgentoo-2-15d8deff38f10e91fc76278eedd166fa27969955.tar.gz
gentoo-2-15d8deff38f10e91fc76278eedd166fa27969955.tar.bz2
gentoo-2-15d8deff38f10e91fc76278eedd166fa27969955.zip
Initial import.
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/mecab-ruby/ChangeLog9
-rw-r--r--dev-ruby/mecab-ruby/Manifest4
-rw-r--r--dev-ruby/mecab-ruby/files/digest-mecab-ruby-0.781
-rw-r--r--dev-ruby/mecab-ruby/files/mecab-ruby-0.78-gentoo.diff20
-rw-r--r--dev-ruby/mecab-ruby/mecab-ruby-0.78.ebuild23
-rw-r--r--dev-ruby/mecab-ruby/metadata.xml5
6 files changed, 62 insertions, 0 deletions
diff --git a/dev-ruby/mecab-ruby/ChangeLog b/dev-ruby/mecab-ruby/ChangeLog
new file mode 100644
index 000000000000..08f64022b13a
--- /dev/null
+++ b/dev-ruby/mecab-ruby/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-ruby/mecab-ruby
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mecab-ruby/ChangeLog,v 1.1 2004/07/23 22:55:34 matsuu Exp $
+
+*mecab-ruby-0.78 (24 Jul 2004)
+
+ 24 Jul 2004; MATSUU Takuto <matsuu@gentoo.org> +mecab-ruby-0.78.ebuild:
+ Initial import.
+
diff --git a/dev-ruby/mecab-ruby/Manifest b/dev-ruby/mecab-ruby/Manifest
new file mode 100644
index 000000000000..14df69c6150c
--- /dev/null
+++ b/dev-ruby/mecab-ruby/Manifest
@@ -0,0 +1,4 @@
+MD5 2ece14977920e4660c33e1ace558ab10 mecab-ruby-0.78.ebuild 471
+MD5 2ed64ac855b3ace3911d610a926b64d8 ChangeLog 245
+MD5 e92a48548554c80cf90e18df17ff6a82 metadata.xml 156
+MD5 3eecc4cdf7dc30d8fe23f0cf1e0debd3 files/digest-mecab-ruby-0.78 66
diff --git a/dev-ruby/mecab-ruby/files/digest-mecab-ruby-0.78 b/dev-ruby/mecab-ruby/files/digest-mecab-ruby-0.78
new file mode 100644
index 000000000000..814f40f16165
--- /dev/null
+++ b/dev-ruby/mecab-ruby/files/digest-mecab-ruby-0.78
@@ -0,0 +1 @@
+MD5 d0a415b02707204a3b74910f7602c5de mecab-ruby-0.78.tar.gz 13844
diff --git a/dev-ruby/mecab-ruby/files/mecab-ruby-0.78-gentoo.diff b/dev-ruby/mecab-ruby/files/mecab-ruby-0.78-gentoo.diff
new file mode 100644
index 000000000000..216046c78e66
--- /dev/null
+++ b/dev-ruby/mecab-ruby/files/mecab-ruby-0.78-gentoo.diff
@@ -0,0 +1,20 @@
+diff -Naur mecab-ruby-0.78.orig/extconf.rb mecab-ruby-0.78/extconf.rb
+--- mecab-ruby-0.78.orig/extconf.rb 2004-06-21 19:45:57.000000000 +0900
++++ mecab-ruby-0.78/extconf.rb 2004-07-24 07:48:47.286930590 +0900
+@@ -1,12 +1,12 @@
+ require 'mkmf'
+
+-mecab_config = with_config ('mecab-config', 'mecab-config')
++mecab_config = with_config('mecab-config', 'mecab-config')
+ use_mecab_config = enable_config('mecab-config')
+
+-`mecab-config --libs-only-l`.chomp.split.each { | lib |
+- have_library (lib)
++`#{mecab_config} --libs-only-l`.chomp.split.each { | lib |
++ have_library(lib)
+ }
+
+ $CFLAGS += ' ' + `#{mecab_config} --cflags`.chomp
+
+-have_header ('mecab.h') && create_makefile('MeCab')
++have_header('mecab.h') && create_makefile('MeCab')
diff --git a/dev-ruby/mecab-ruby/mecab-ruby-0.78.ebuild b/dev-ruby/mecab-ruby/mecab-ruby-0.78.ebuild
new file mode 100644
index 000000000000..bd4f12e9ead9
--- /dev/null
+++ b/dev-ruby/mecab-ruby/mecab-ruby-0.78.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mecab-ruby/mecab-ruby-0.78.ebuild,v 1.1 2004/07/23 22:55:34 matsuu Exp $
+
+inherit ruby eutils
+
+DESCRIPTION="MeCab library module for Ruby"
+HOMEPAGE="http://chasen.org/~taku/software/mecab/"
+SRC_URI="http://chasen.org/~taku/software/mecab/bindings/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="virtual/ruby
+ >=app-text/mecab-0.78"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-gentoo.diff
+}
diff --git a/dev-ruby/mecab-ruby/metadata.xml b/dev-ruby/mecab-ruby/metadata.xml
new file mode 100644
index 000000000000..2d5852c16c60
--- /dev/null
+++ b/dev-ruby/mecab-ruby/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>cjk</herd>
+</pkgmetadata>