talimat 989 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # Tanım: SQL veritabanı motoru
  2. # URL: http://www.sqlite.org/
  3. # Paketçi: milisarge
  4. # Gerekler:
  5. # Grup: sistem
  6. isim=sqlite
  7. surum=3.23.1
  8. _srcver=3230100
  9. devir=1
  10. _surum=$(printf "%i%.2i%.2i%.2i" ${surum//./ })
  11. kaynak=(http://www.sqlite.org/2018/sqlite-autoconf-${_surum}.tar.gz)
  12. derle() {
  13. cd sqlite-autoconf-$_srcver
  14. export CPPFLAGS="$CPPFLAGS -DSQLITE_ENABLE_COLUMN_METADATA=1 \
  15. -DSQLITE_ENABLE_UNLOCK_NOTIFY \
  16. -DSQLITE_ENABLE_DBSTAT_VTAB=1 \
  17. -DSQLITE_ENABLE_FTS3_TOKENIZER=1 \
  18. -DSQLITE_SECURE_DELETE \
  19. -DSQLITE_MAX_VARIABLE_NUMBER=250000 \
  20. -DSQLITE_MAX_EXPR_DEPTH=10000"
  21. ./configure --prefix=/usr \
  22. --disable-static \
  23. --disable-amalgamation \
  24. --enable-fts3 \
  25. --enable-fts4 \
  26. --enable-fts5 \
  27. --enable-rtree \
  28. --enable-json1
  29. make
  30. # build additional tools
  31. make
  32. make DESTDIR=${PKG} install
  33. }