milis/talimatname/genel/s/sqlite/talimat

37 lines
984 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: SQL veritabanı motoru
2017-04-17 14:23:44 +02:00
# URL: http://www.sqlite.org/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler:
2016-02-24 01:27:23 +01:00
name=sqlite
2017-09-20 17:23:51 +02:00
version=3.20.1
_srcver=3200100
2016-02-24 01:27:23 +01:00
release=1
2016-03-08 17:03:53 +01:00
_version=$(printf "%i%.2i%.2i%.2i" ${version//./ })
2016-02-24 01:27:23 +01:00
2017-05-16 05:29:13 +02:00
source=(http://www.sqlite.org/2017/sqlite-autoconf-${_version}.tar.gz)
2016-02-24 01:27:23 +01:00
2017-10-27 23:59:41 +02:00
derle() {
2017-09-20 17:23:51 +02: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 01:27:23 +01:00
}