squlite3-32: build with -DSQLITE_ENABLE_DBSTAT_VTAB, FS#1215

This commit is contained in:
Danny Rawlins 2015-09-21 20:59:35 +10:00
parent d729daadd7
commit 1beea61677

View File

@ -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}
}