mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 10:25:05 +03:00
new file: projects/taku910.github.io/mecab-ipadic/package.yml
This commit is contained in:
parent
c7ced60838
commit
b69582a2a5
1 changed files with 35 additions and 0 deletions
35
projects/taku910.github.io/mecab-ipadic/package.yml
Normal file
35
projects/taku910.github.io/mecab-ipadic/package.yml
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
distributable:
|
||||||
|
url: https://deb.debian.org/debian/pool/main/m/mecab-ipadic/mecab-ipadic_2.7.0-20070801+main.orig.tar.gz
|
||||||
|
# Canonical URL = https://drive.google.com/uc?export=download&id=0B4y35FiV1wh7MWVlSDBCSXZMTXM
|
||||||
|
strip-components: 1
|
||||||
|
|
||||||
|
versions:
|
||||||
|
- 2.7.0.20070801
|
||||||
|
|
||||||
|
platforms:
|
||||||
|
- darwin
|
||||||
|
- linux/x86-64
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
taku910.github.io/mecab: '*'
|
||||||
|
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
tea.xyz/gx/cc: c99
|
||||||
|
tea.xyz/gx/make: '*'
|
||||||
|
script:
|
||||||
|
- ./configure $ARGS
|
||||||
|
- make --jobs {{ hw.concurrency }} install
|
||||||
|
|
||||||
|
env:
|
||||||
|
ARGS:
|
||||||
|
- --prefix="{{prefix}}"
|
||||||
|
- --disable-dependency-tracking
|
||||||
|
- --disable-debug
|
||||||
|
- --with-charset=utf8
|
||||||
|
- --with-dicdir={{prefix}}/lib/mecab/dic/ipadic
|
||||||
|
|
||||||
|
test:
|
||||||
|
- touch mecabrc
|
||||||
|
- echo 'dicdir = {{prefix}}/lib/mecab/dic/ipadic' > mecabrc
|
||||||
|
- echo "すもももももももものうち" | mecab --rcfile=mecabrc | grep '詞'
|
Loading…
Reference in a new issue