diff --git a/recipes/sdlpp/recipe.py b/recipes/sdlpp/recipe.py new file mode 100644 index 0000000..6072914 --- /dev/null +++ b/recipes/sdlpp/recipe.py @@ -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'))