Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (24 sloc) 0.828 kb
from gub import misc
from gub import target
from gub import tools
class Sqlite (target.AutoBuild):
source = 'http://www.sqlite.org/sqlite-3.6.4.tar.gz' # 3.3.16
dependencies = ['tools::libtool']
configure_flags = (target.AutoBuild.configure_flags
+ misc.join_lines ('''
--disable-tcl
--enable-threadsafe
'''))
def patch (self):
self.dump ('''
Sqlite has no license, it is in the public domain.
See http://www.sqlite.org/copyright.html .
''',
'%(srcdir)s/PUBLIC-DOMAIN')
license_files = ['%(srcdir)s/PUBLIC-DOMAIN']
class Sqlite__mingw (Sqlite):
configure_flags = (' config_TARGET_EXEEXT=.exe '
+ Sqlite.configure_flags
.replace ('--enable-threadsafe', '--disable-threadsafe'))
class Sqlite__tools (tools.AutoBuild, Sqlite):
pass
Jump to Line
Something went wrong with that request. Please try again.