def install(self): with tempdir() as workdir: updir = self._unpack() try: with chstdin("y"): self.target.do("bash",os.path.join(updir,"install"),"--prefix",self.PREFIX,"--silent") except subprocess.CalledProcessError: pass if not os.path.isdir(os.path.join(self.PREFIX,"lib")): os.mkdir(os.path.join(self.PREFIX,"lib")) open(os.path.join(self.PREFIX,"lib","apbuild-base--installed.txt"),"wb").close()
def install(self): with tempdir() as workdir: updir = self._unpack() try: with chstdin("y"): self.target.do("bash", os.path.join(updir, "install"), "--prefix", self.PREFIX, "--silent") except subprocess.CalledProcessError: pass if not os.path.isdir(os.path.join(self.PREFIX, "lib")): os.mkdir(os.path.join(self.PREFIX, "lib")) open(os.path.join(self.PREFIX, "lib", "apbuild-base--installed.txt"), "wb").close()
def _configure(self): # automatically accept the LGPL with chstdin("yes"): super(_lib_qt4_base,self)._configure()