# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python class Recipe(recipe.Recipe): name = 'cerbero' version = '0.1.0' # TODO: check license - source files are LGPLv2+ and LICENSE.LGPL is LGPLv2.1 licenses = [License.LGPLv2_1Plus] commit = 'origin/master' make_install = 'make install PREFIX=$CERBERO_PREFIX' files_bins = ['cerbero'] files_data = ['share/cerbero'] files_egg = ['site-packages/cerbero-0.1.0-py%s.egg'] def prepare(self): import sys self._remove_steps([BuildSteps.CONFIGURE]) pyver = '%s.%s' % (sys.version_info[0], sys.version_info[1]) self.files_egg = [os.path.join(self.config.py_prefix, self.files_egg[0] % pyver)]