summaryrefslogtreecommitdiff
path: root/homebrew/mecabkodic
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/mecabkodic')
-rw-r--r--homebrew/mecabkodic/.beer32
-rw-r--r--homebrew/mecabkodic/.make.sh-auto4
-rw-r--r--homebrew/mecabkodic/_metadata/description1
-rw-r--r--homebrew/mecabkodic/_metadata/homepage1
-rw-r--r--homebrew/mecabkodic/_metadata/name1
-rw-r--r--homebrew/mecabkodic/_metadata/version1
-rwxr-xr-xhomebrew/mecabkodic/download.sh1
7 files changed, 41 insertions, 0 deletions
diff --git a/homebrew/mecabkodic/.beer b/homebrew/mecabkodic/.beer
new file mode 100644
index 000000000..d60d06398
--- /dev/null
+++ b/homebrew/mecabkodic/.beer
@@ -0,0 +1,32 @@
+{
+ "name": "MecabKoDic",
+ "description": "See mecab",
+ "url": "https://bitbucket.org/eunjeon/mecab-ko-dic/downloads/mecab-ko-dic-1.6.1-20140814.tar.gz",
+ "mirror": null,
+ "homepage": "https://bitbucket.org/eunjeon/mecab-ko-dic",
+ "depends": [
+ {
+ "depend": "autoconf",
+ "build-depend": true
+ },
+ {
+ "depend": "automake",
+ "build-depend": true
+ },
+ {
+ "depend": "mecab-ko",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"./autogen.sh\"",
+ "system \"./configure\", \"--prefix=#{prefix}\",",
+ "\"--with-dicdir=#{lib}/mecab/dic/mecab-ko-dic\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "1.6.1",
+ "file": "mecab-ko-dic.rb"
+} \ No newline at end of file
diff --git a/homebrew/mecabkodic/.make.sh-auto b/homebrew/mecabkodic/.make.sh-auto
new file mode 100644
index 000000000..b185c43da
--- /dev/null
+++ b/homebrew/mecabkodic/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+./autogen.sh
+pkg:configure --with-dicdir=${PKG_TAPF}/lib/mecab/dic/mecab-ko-dic
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/mecabkodic/_metadata/description b/homebrew/mecabkodic/_metadata/description
new file mode 100644
index 000000000..3c55f04d3
--- /dev/null
+++ b/homebrew/mecabkodic/_metadata/description
@@ -0,0 +1 @@
+See mecab
diff --git a/homebrew/mecabkodic/_metadata/homepage b/homebrew/mecabkodic/_metadata/homepage
new file mode 100644
index 000000000..7c79dd553
--- /dev/null
+++ b/homebrew/mecabkodic/_metadata/homepage
@@ -0,0 +1 @@
+https://bitbucket.org/eunjeon/mecab-ko-dic
diff --git a/homebrew/mecabkodic/_metadata/name b/homebrew/mecabkodic/_metadata/name
new file mode 100644
index 000000000..a1d428d21
--- /dev/null
+++ b/homebrew/mecabkodic/_metadata/name
@@ -0,0 +1 @@
+MecabKoDic
diff --git a/homebrew/mecabkodic/_metadata/version b/homebrew/mecabkodic/_metadata/version
new file mode 100644
index 000000000..9c6d6293b
--- /dev/null
+++ b/homebrew/mecabkodic/_metadata/version
@@ -0,0 +1 @@
+1.6.1
diff --git a/homebrew/mecabkodic/download.sh b/homebrew/mecabkodic/download.sh
new file mode 100755
index 000000000..78698084f
--- /dev/null
+++ b/homebrew/mecabkodic/download.sh
@@ -0,0 +1 @@
+wget https://bitbucket.org/eunjeon/mecab-ko-dic/downloads/mecab-ko-dic-1.6.1-20140814.tar.gz \ No newline at end of file