Update to new recipe system (S++ 2.0).
This commit is contained in:
@@ -3,8 +3,15 @@ from SCons.Script import *
|
||||
|
||||
import os
|
||||
|
||||
def cook(env: Environment, git_ref = 'master') -> dict:
|
||||
repo = env.GitBranch(repo_name = 'mecab', remote_url = 'https://github.com/taku910/mecab.git', git_ref = git_ref)
|
||||
|
||||
def versions(env: Environment, update: bool = False):
|
||||
return [(1, 0)]
|
||||
|
||||
def dependencies(env: Environment, version) -> 'dict':
|
||||
return {}
|
||||
|
||||
def cook(env: Environment, version) -> dict:
|
||||
repo = env.GitBranch(repo_name = 'mecab', remote_url = 'https://github.com/taku910/mecab.git', git_ref = 'master')
|
||||
checkout_root = repo['checkout_root']
|
||||
build_result = env.AutotoolsProject(os.path.join(checkout_root, 'mecab'))
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user