Added recipe for sdlpp.
This commit is contained in:
parent
c883f3c1c7
commit
0e22057fc4
18
recipes/sdlpp/recipe.py
Normal file
18
recipes/sdlpp/recipe.py
Normal file
@ -0,0 +1,18 @@
|
||||
|
||||
from SCons.Script import *
|
||||
|
||||
_REPO_NAME = 'sdlpp'
|
||||
_REPO_URL = 'https://git.mewin.de/mewin/sdlpp.git'
|
||||
|
||||
def versions(env: Environment, update: bool = False):
|
||||
return [(0, 0, 0)]
|
||||
|
||||
def dependencies(env: Environment, version) -> 'dict':
|
||||
return {
|
||||
'SDL': {}
|
||||
}
|
||||
|
||||
def cook(env: Environment, version) -> dict:
|
||||
repo = env.GitBranch(repo_name = _REPO_NAME, remote_url = _REPO_URL, git_ref = 'master')
|
||||
checkout_root = repo['checkout_root']
|
||||
return env.Module(os.path.join(checkout_root, 'SModule'))
|
Loading…
x
Reference in New Issue
Block a user