core updated.

This commit is contained in:
Ertuğrul Erata
2015-05-17 16:28:10 +03:00
parent 14d58aa1d0
commit 8e13c775be
558 changed files with 543408 additions and 27657 deletions
+32 -10
View File
@@ -13,23 +13,45 @@ from pisi.actionsapi import get
# but cannot be seen with sqlite query. However, it can be seen by opening the file with a text editor.
# SQLITE_SECURE_DELETE overwrites written data with zeros.
def setup():
pisitools.cflags.add("-DSQLITE_SECURE_DELETE=1",
"-DSQLITE_ENABLE_UNLOCK_NOTIFY=1",
"-DSQLITE_ENABLE_COLUMN_METADATA=1",
"-DSQLITE_DISABLE_DIRSYNC=1",
"-DSQLITE_ENABLE_FTS3=3",
"-DSQLITE_ENABLE_RTREE=1",
"-DNDEBUG=1",
"-fno-strict-aliasing")
pisitools.cflags.add("-DSQLITE_SECURE_DELETE",
"-DSQLITE_ENABLE_UNLOCK_NOTIFY",
"-DSQLITE_ENABLE_COLUMN_METADATA",
"-DSQLITE_DISABLE_DIRSYNC",
"-DSQLITE_ENABLE_FTS3",
"-DSQLITE_ENABLE_FTS4",
"-DSQLITE_ENABLE_FTS3_PARENTHESIS",
"-DSQLITE_ENABLE_STMT_SCANSTATUS",
"-DSQLITE_SOUNDEX",
"-DSQLITE_ENABLE_RTREE",
"-DSQLITE_ENABLE_API_ARMOR")
pisitools.cflags.sub("-O[s\d]", "-O3")
autotools.configure("--disable-static \
--enable-readline \
--enable-threadsafe")
shelltools.cd("tea")
autotools.configure(" \
--enable-shared \
--with-tcl='/usr/lib/' \
--with-tclinclude='/usr/include' \
--enable-64bit \
--enable-threads")
#pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
autotools.make()
shelltools.cd("tea")
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
shelltools.cd("%s/sqlite-autoconf-3080803/tea" % get.workDIR())
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("README*")