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

28 lines
1.0 KiB
Python

class Autoconf (GnuPackage):
def __init__(self):
GnuPackage.__init__(self, 'autoconf', '2.69', override_properties={
'build_dependency': True})
self.extra_stage_files = ['share/autoconf/autom4te.cfg']
def install(self):
Package.install(self)
aclocal_dir = os.path.join(self.staged_prefix, "share", "aclocal")
if not os.path.exists(aclocal_dir):
os.makedirs(aclocal_dir)
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']
Autoconf()