19 lines
		
	
	
		
			515 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			515 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| 
 | |
| 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'))
 |