Support multiple sources for recipe
Currently, cerbero's recipe only support single source file. For example:
class Recipe(recipe.Recipe):
version = '2.3.0'
name = 'openjpeg'
licenses = [{License.BSD: ['LICENSE']}]
stype = SourceType.TARBALL
btype = BuildType.CMAKE
url = 'https://github.com/uclouvain/openjpeg/archive/v%(version)s.tar.gz'
tarball_checksum = '3dc787c1bb6023ba846c2a0d9b1f6e179f1cd255172bde9eb75b01f1e6c7d71a'
library_type = LibraryType.BOTH
In the case for OpenCV
-like recipe, we should download additional opencv_contrib
package.
Can we change url
and tarball_checksum
into dict-style? Or any comments for this?