Skip to content
This repository has been archived by the owner on Jul 8, 2021. It is now read-only.

Commit

Permalink
Merge pull request #9 from chezou/remove-google-code
Browse files Browse the repository at this point in the history
Good-bye googlecode
  • Loading branch information
chezou committed Oct 3, 2015
2 parents 852d3b7 + 08cfa4a commit 6e6d82b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions deps/build.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ mecab = library_dependency("libmecab")
const version = "0.996"

provides(Sources,
URI("https://mecab.googlecode.com/files/mecab-$(version).tar.gz"),
URI("https://drive.google.com/uc?export=download&id=0B4y35FiV1wh7cENtOXlicTFaRUE"),
mecab,
unpacked_dir="mecab-$(version)")
unpacked_dir="mecab-$(version)",
filename="mecab-$(version).tar.gz")

prefix = joinpath(BinDeps.depsdir(mecab), "usr")
srcdir = joinpath(BinDeps.depsdir(mecab), "src", "mecab-$(version)")
Expand All @@ -35,9 +36,9 @@ function install_ipadic()
mecabconfig = joinpath(BinDeps.depsdir(mecab), "usr", "bin", "mecab-config")

# download
url = "https://mecab.googlecode.com/files/mecab-ipadic-$(ipadic_version).tar.gz"
url = "https://drive.google.com/uc?export=download&id=0B4y35FiV1wh7MWVlSDBCSXZMTXM"
cd(BinDeps.downloadsdir(mecab))
filename = basename(url)
filename = "mecab-ipadic-$(ipadic_version).tar.gz"
if !isfile(joinpath(BinDeps.downloadsdir(mecab), filename))
run(download_cmd(url, filename))
end
Expand Down

0 comments on commit 6e6d82b

Please sign in to comment.