Files
OpenUxAS-bootstrap/specs/serial.anod
2019-12-11 09:16:39 +01:00

23 lines
535 B
Plaintext

from e3.anod.loader import spec
from e3.anod.spec import Anod
from e3.diff import patch
import os
class Serial(spec('github')):
github_project = 'serial'
has_local_patch = True
@property
def build_deps(self):
return [Anod.Dependency('compiler'),
Anod.Dependency('cmake')]
@Anod.primitive()
def build(self):
patch(os.path.join(self.build_space.src_dir, 'patches',
'serial.patch'),
self.build_space.src_dir)
self.cmake_build()