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)
def premakeInstallRule(sourceDir, buildDir, pkg, gnuDirs): copytree((sourceDir / "bin" / "release" / "premake5"), pkg.nest(gnuDirs.prefix) / "bin" / "premake5")
def installRule(sourceDir, buildDir, pkg, gnuDirs): copytree((sourceDir / ".." / "bake"), pkg.nest(gnuDirs.prefix) / "bin" / "bake") copytree((sourceDir / ".." / "include"), pkg.nest(gnuDirs.prefix) / "include")
def installRule(sourceDir, buildDir, pkg, gnuDirs): copytree((sourceDir / "ckati"), pkg.nest(gnuDirs.prefix) / "bin" / "ckati")