Permalink
Switch branches/tags
release/0.0.3 gub-release-lilypond-2.15.16-1 gub-release-lilypond-2.15.15-1 gub-release-lilypond-2.15.14-1 gub-release-lilypond-2.15.13-1 gub-release-lilypond-2.15.12-1 gub-release-lilypond-2.15.11-1 gub-release-lilypond-2.15.10-1 gub-release-lilypond-2.15.9-1 gub-release-lilypond-2.15.8-1 gub-release-lilypond-2.15.7-1 gub-release-lilypond-2.15.6-1 gub-release-lilypond-2.15.5-1 gub-release-lilypond-2.15.4-1 gub-release-lilypond-2.15.3-1 gub-release-lilypond-2.15.2-1 gub-release-lilypond-2.15.1-1 gub-release-lilypond-2.15.0-1 gub-release-lilypond-2.14.2-1 gub-release-lilypond-2.14.1-1 gub-release-lilypond-2.14.0-1 gub-release-lilypond-2.13.63-1 gub-release-lilypond-2.13.62-1 gub-release-lilypond-2.13.61-1 gub-release-lilypond-2.13.60-1 gub-release-lilypond-2.13.59-1 gub-release-lilypond-2.13.58-1 gub-release-lilypond-2.13.57-1 gub-release-lilypond-2.13.56-1 gub-release-lilypond-2.13.55-1 gub-release-lilypond-2.13.54-1 gub-release-lilypond-2.13.53-1 gub-release-lilypond-2.13.52-1 gub-release-lilypond-2.13.51-1 gub-release-lilypond-2.13.50-1 gub-release-lilypond-2.13.49-1 gub-release-lilypond-2.13.48-1 gub-release-lilypond-2.13.47-1 gub-release-lilypond-2.13.46-1 gub-release-lilypond-2.13.45-1 gub-release-lilypond-2.13.44-1 gub-release-lilypond-2.13.43-1 gub-release-lilypond-2.13.42-1 gub-release-lilypond-2.13.41-1 gub-release-lilypond-2.13.40-1 gub-release-lilypond-2.13.39-1 gub-release-lilypond-2.13.38-1 gub-release-lilypond-2.13.37-1 gub-release-lilypond-2.13.36-1 gub-release-lilypond-2.13.35-1 gub-release-lilypond-2.13.34-1 gub-release-lilypond-2.13.33-1 gub-release-lilypond-2.13.32-1 gub-release-lilypond-2.13.31-1 gub-release-lilypond-2.13.30-1 gub-release-lilypond-2.13.29-1 gub-release-lilypond-2.13.28-1 gub-release-lilypond-2.13.27-2 gub-release-lilypond-2.13.27-1 gub-release-lilypond-2.13.26-1 gub-release-lilypond-2.13.25-1 gub-release-lilypond-2.13.24-1 gub-release-lilypond-2.13.23-1 gub-release-lilypond-2.13.22-1 gub-release-lilypond-2.13.21-1 gub-release-lilypond-2.13.20-1 gub-release-lilypond-2.13.19-1 gub-release-lilypond-2.13.18-1 gub-release-lilypond-2.13.17-1 gub-release-lilypond-2.13.16-1 gub-release-lilypond-2.13.15-1 gub-release-lilypond-2.13.14-1 gub-release-lilypond-2.13.13-1 gub-release-lilypond-2.13.12-1 gub-release-lilypond-2.13.11-1 gub-release-lilypond-2.13.10-1 gub-release-lilypond-2.13.9-1 gub-release-lilypond-2.13.8-1 gub-release-lilypond-2.13.7-1 gub-release-lilypond-2.13.7-0 gub-release-lilypond-2.13.6-1 gub-release-lilypond-2.13.5-0 gub-release-lilypond-2.13.4-1 gub-release-lilypond-2.12.3-2 gub-release-lilypond-2.12.3-1 build/lilypond-gub/2.12.2-1 build/lilypond-gub/2.12.1-1 build/lilypond-gub/2.12.0-1 build/lilypond-gub/2.11.64-1
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
63 lines (58 sloc) 2.45 KB
from gub import target
from gub import tools
class Git (target.AutoBuild):
## source = 'http://kernel.org/pub/software/scm/git/git-1.6.4.4.tar.gz'
source = 'http://git-core.googlecode.com/files/git-1.7.7.tar.gz'
srcdir_build_broken = True
subpackage_names = ['']
dependencies = ['zlib-devel']
config_cache_overrides = target.AutoBuild.config_cache_overrides + '''
ac_cv_c_c99_format=no
ac_cv_fread_reads_directories=no
ac_cv_snprintf_returns_bongus=yes
'''
configure_flags = (tools.AutoBuild.configure_flags
+ ' --without-openssl'
+ ' --without-tcltk'
)
make_flags = '''V=1 NO_PERL=NoThanks'''
class Git__freebsd (Git):
dependencies = Git.dependencies + ['libiconv-devel', 'regex-devel']
make_flags = (Git.make_flags
+ ' CFLAGS="-O2 -Duintmax_t=unsigned -Dstrtoumax=strtoul"')
class Git__mingw (Git):
dependencies = Git.dependencies + ['libiconv-devel', 'regex-devel', 'tcltk']
make_flags = (' uname_S=MINGW'
+ ' V=1 '
## we'll consider it if they clean up their act
+ ' SCRIPT_PERL= '
+ ' instdir_SQ=%(install_prefix)s/lib/ '
+ ' SHELL_PATH=/bin/sh'
+ ' PERL_PATH=/bin/perl')
compile_flags = ' template_dir=../share/git-core/templates/'
def __init__ (self, settings, source):
Git.__init__ (self, settings, source)
self.target_gcc_flags = ' -mms-bitfields '
def configure (self):
target.AutoBuild.configure (self)
self.file_sub ([('CFLAGS = -g',
'CFLAGS = -I compat/ -g')],
'%(builddir)s/config.mak.autogen')
self.file_sub ([('-lsocket',
'-lwsock32'),
],
'%(builddir)s/Makefile')
self.dump ('%(version)s-GUB', '%(builddir)s/version')
def install (self):
Git.install (self)
bat = r'''@echo off
"@INSTDIR@\usr\bin\wish84.exe" "@INSTDIR@\usr\bin\gitk" %1 %2 %3 %4 %5 %6 %7 %8 %9
'''.replace ('%','%%').replace ('\n','\r\n')
self.dump (bat, '%(install_prefix)s/bin/gitk.bat.in')
class Git__tools (tools.AutoBuild, Git):
dependencies = ['curl', 'expat', 'zlib']
configure_flags = (tools.AutoBuild.configure_flags
+ ' --without-openssl'
+ ' --without-tcltk'
)
make_flags = Git.make_flags