2017-10-27 21:46:27 +03:00
|
|
|
|
# Tanım: SQL veritabanı motoru
|
2017-04-17 15:23:44 +03:00
|
|
|
|
# URL: http://www.sqlite.org/
|
2017-10-27 21:46:27 +03:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
|
# Gerekler:
|
2016-02-24 02:27:23 +02:00
|
|
|
|
|
2017-10-28 15:10:23 +03:00
|
|
|
|
isim=sqlite
|
2018-05-12 02:30:09 +03:00
|
|
|
|
surum=3.23.1
|
|
|
|
|
|
_srcver=3230100
|
2017-10-28 15:10:23 +03:00
|
|
|
|
devir=1
|
2018-05-12 02:30:09 +03:00
|
|
|
|
_surum=$(printf "%i%.2i%.2i%.2i" ${surum//./ })
|
2016-02-24 02:27:23 +02:00
|
|
|
|
|
2018-05-12 02:30:09 +03:00
|
|
|
|
kaynak=(http://www.sqlite.org/2018/sqlite-autoconf-${_surum}.tar.gz)
|
2016-02-24 02:27:23 +02:00
|
|
|
|
|
2017-10-28 00:59:41 +03:00
|
|
|
|
derle() {
|
2017-09-20 18:23:51 +03:00
|
|
|
|
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
|
2016-02-24 02:27:23 +02:00
|
|
|
|
}
|