Lines Matching refs:recipe
912 def buildRecipe(recipe, basedir, archList): argument
920 name = recipe['name']
922 url = recipe['url']
923 configure = recipe.get('configure', './configure')
924 buildrecipe = recipe.get('buildrecipe', None)
925 install = recipe.get('install', 'make && make install DESTDIR=%s'%(
934 verifyThirdPartyFile(url, recipe['checksum'], sourceArchive)
943 for patch in recipe.get('patches', ()):
951 runCommand('patch -p%s < %s'%(recipe.get('patchlevel', 1),
954 for patchscript in recipe.get('patchscripts', ()):
968 if 'buildDir' in recipe:
969 os.chdir(recipe['buildDir'])
979 if 'configure_pre' in recipe:
980 args = list(recipe['configure_pre'])
987 if recipe.get('useLDFlags', 1):
991 recipe.get('extra_cflags', ''),
1004 recipe.get('extra_cflags', ''),
1010 if 'configure_post' in recipe:
1011 configure_args = configure_args + list(recipe['configure_post'])
1044 for recipe in library_recipes():
1045 buildRecipe(recipe, universal, ARCHLIST)
1332 def packageFromRecipe(targetDir, recipe): argument
1338 pkgname = '%s-%s'%(recipe['name'], getVersion())
1339 srcdir = recipe.get('source')
1340 pkgroot = recipe.get('topdir', srcdir)
1341 postflight = recipe.get('postflight')
1342 readme = textwrap.dedent(recipe['readme'])
1343 isRequired = recipe.get('required', True)
1415 IFPkgDescriptionTitle=recipe.get('long_name', "Python.%s"%(pkgname,)),
1469 for recipe in pkg_recipes():
1470 packageFromRecipe(pkgcontents, recipe)