milis/talimatname/genel/sqlite/talimat

37 lines
991 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Description: SQL veritabanı motoru
# URL: http://www.sqlite.org/
# Packager: milisarge
# Depends on:
name=sqlite
version=3.20.1
_srcver=3200100
release=1
_version=$(printf "%i%.2i%.2i%.2i" ${version//./ })
source=(http://www.sqlite.org/2017/sqlite-autoconf-${_version}.tar.gz)
build() {
cd sqlite-autoconf-$_srcver
export CPPFLAGS="$CPPFLAGS -DSQLITE_ENABLE_COLUMN_METADATA=1 \
-DSQLITE_ENABLE_UNLOCK_NOTIFY \
-DSQLITE_ENABLE_DBSTAT_VTAB=1 \
-DSQLITE_ENABLE_FTS3_TOKENIZER=1 \
-DSQLITE_SECURE_DELETE \
-DSQLITE_MAX_VARIABLE_NUMBER=250000 \
-DSQLITE_MAX_EXPR_DEPTH=10000"
./configure --prefix=/usr \
--disable-static \
--disable-amalgamation \
--enable-fts3 \
--enable-fts4 \
--enable-fts5 \
--enable-rtree \
--enable-json1
make
# build additional tools
make
make DESTDIR=${PKG} install
}