diff options
author | Danny Rawlins <monster.romster@gmail.com> | 2015-09-21 20:59:35 +1000 |
---|---|---|
committer | Danny Rawlins <monster.romster@gmail.com> | 2015-09-21 20:59:35 +1000 |
commit | 1beea61677790fa0fed25aca3cde479a8b2559ee (patch) | |
tree | 4eb48a81a656a2a06cd54aefeb7c7f3c0c201a13 /sqlite3-32 | |
parent | d729daadd7973f3117a21f8fc83463c6b8f44c58 (diff) | |
download | compat-32-1beea61677790fa0fed25aca3cde479a8b2559ee.tar.gz compat-32-1beea61677790fa0fed25aca3cde479a8b2559ee.tar.xz |
squlite3-32: build with -DSQLITE_ENABLE_DBSTAT_VTAB, FS#1215
Diffstat (limited to 'sqlite3-32')
-rw-r--r-- | sqlite3-32/Pkgfile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sqlite3-32/Pkgfile b/sqlite3-32/Pkgfile index f243a8b0..2fde5fd9 100644 --- a/sqlite3-32/Pkgfile +++ b/sqlite3-32/Pkgfile @@ -5,17 +5,21 @@ name=sqlite3-32 version=3.8.11.1 -release=1 +release=2 _version=$(printf "%i%.2i%.2i%.2i" ${version//./ }) source=(http://www.sqlite.org/2015/sqlite-autoconf-${_version}.tar.gz) build() { cd sqlite-autoconf-${_version} + CFLAGS="-DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_COLUMN_METADATA=1 \ - -DSQLITE_ENABLE_UNLOCK_NOTIFY $CFLAGS" \ + -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_ENABLE_DBSTAT_VTAB=1 \ + $CFLAGS" \ ./configure --prefix=/usr --mandir=/usr/man --libdir=/usr/lib32 + make -j1 make DESTDIR=$PKG install + rm -r $PKG/usr/{bin,include,man} } |