def install(self): environment = self.environment command = ['perl', './Configure', '--prefix=%s' % environment.prefix, 'zlib-dynamic', 'shared'] if Platform.current().os_name == 'osx': command.append('darwin64-x86_64-cc') self.run_command(command) self.run_make() self.run_make(['install', 'MANDIR=%(man)s' % environment.directories, 'MANSUFFIX=ssl'])
def test_current(self): p = Platform.current() if platform.system() == 'Darwin': self.assertEqual(p.os_name, 'osx') self.assertEqual(p.architecture, platform.machine())