sqlite3.build 597 B

1234567891011121314151617181920212223242526272829
  1. cd $tmpdir
  2. # Downloading php7 source
  3. if [ ! -f "$sqlite" ]; then
  4. echo "Downloading sqlite sources..."
  5. wget $sqlitemirror/$sqlite
  6. tar -xf $sqlite
  7. fi
  8. cd $sqlitesrcdir
  9. # Compile
  10. ./configure --prefix=$freondir \
  11. --disable-static \
  12. CFLAGS="-g -O2 \
  13. -DSQLITE_ENABLE_FTS3=1 \
  14. -DSQLITE_ENABLE_FTS4=1 \
  15. -DSQLITE_ENABLE_COLUMN_METADATA=1 \
  16. -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 \
  17. -DSQLITE_ENABLE_DBSTAT_VTAB=1 \
  18. -DSQLITE_SECURE_DELETE=1 \
  19. -DSQLITE_ENABLE_FTS3_TOKENIZER=1" &&
  20. make
  21. make install
  22. cd $tmpdir