Xamarin Public Jenkins (auto-signing) 6bdd276d05 Imported Upstream version 5.0.0.42
Former-commit-id: fd56571888259555122d8a0f58c68838229cea2b
2017-04-10 11:41:01 +00:00

21 lines
867 B
Python

class Automake (GnuPackage):
def __init__(self):
GnuPackage.__init__(self, 'automake', '1.13', override_properties={
'build_dependency': True})
self.extra_stage_files = [
'share/automake-%{version}/Automake/Config.pm']
def arch_build(self, arch):
if arch == 'darwin-universal':
self.local_ld_flags = ['-arch i386', '-arch x86_64']
self.local_gcc_flags = ['-arch i386', '-arch x86_64']
elif arch == 'darwin-32':
self.local_ld_flags = ['-arch i386', '-m32']
self.local_gcc_flags = ['-arch i386', '-m32']
self.local_configure_flags = ['--build=i386-apple-darwin11.2.0']
elif arch == 'darwin-64':
self.local_ld_flags = ['-arch x86_64 -m64']
self.local_gcc_flags = ['-arch x86_64 -m64']
Automake()