Пример #1
0
 def copy(self, src, dst, hashes=None):
     """src is path, dst is an abstract path within root"""
     resPath = self.nest(dst)
     copytree(src, resPath)
     self.registerPath(resPath, hashes=hashes)
Пример #2
0
def premakeInstallRule(sourceDir, buildDir, pkg, gnuDirs):
    copytree((sourceDir / "bin" / "release" / "premake5"),
             pkg.nest(gnuDirs.prefix) / "bin" / "premake5")
Пример #3
0
 def installRule(sourceDir, buildDir, pkg, gnuDirs):
     copytree((sourceDir / ".." / "bake"),
              pkg.nest(gnuDirs.prefix) / "bin" / "bake")
     copytree((sourceDir / ".." / "include"),
              pkg.nest(gnuDirs.prefix) / "include")
Пример #4
0
 def installRule(sourceDir, buildDir, pkg, gnuDirs):
     copytree((sourceDir / "ckati"),
              pkg.nest(gnuDirs.prefix) / "bin" / "ckati")