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
commit29bf373656f276759b6b6a1b0f125a30287a5471 (patch)
treecf7701ad524c259ed9687b26d7f807eedac35117 /dev-ruby/mecab-ruby
parentInitial import, ebuild submitted by Alastair Murray <alastairmurray@hotmail.c... (diff)
downloadhistorical-29bf373656f276759b6b6a1b0f125a30287a5471.tar.gz
historical-29bf373656f276759b6b6a1b0f125a30287a5471.tar.bz2
historical-29bf373656f276759b6b6a1b0f125a30287a5471.zip
Initial import.
Diffstat (limited to 'dev-ruby/mecab-ruby')
-rw-r--r--dev-ruby/mecab-ruby/ChangeLog9
-rw-r--r--dev-ruby/mecab-ruby/Manifest5
-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, 63 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..b91c23682948
--- /dev/null
+++ b/dev-ruby/mecab-ruby/Manifest
@@ -0,0 +1,5 @@
+MD5 b98bc955185d39b27748db47f6e19b00 mecab-ruby-0.78.ebuild 587
+MD5 c908236918f89db11de27351962226d9 ChangeLog 336
+MD5 e92a48548554c80cf90e18df17ff6a82 metadata.xml 156
+MD5 3eecc4cdf7dc30d8fe23f0cf1e0debd3 files/digest-mecab-ruby-0.78 66
+MD5 082979d47570e649fd576f796de7602d files/mecab-ruby-0.78-gentoo.diff 741
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>