2006-11-10 16:21:43 +01:00
|
|
|
# Description: SQL database engine
|
|
|
|
# URL: http://www.sqlite.org/
|
2011-02-02 13:44:37 +01:00
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
2018-01-23 13:23:48 +01:00
|
|
|
# Depends on: readline zlib
|
2006-11-10 16:21:43 +01:00
|
|
|
|
|
|
|
name=sqlite3
|
2019-10-06 12:28:44 +02:00
|
|
|
version=3.30.0
|
2017-02-17 12:53:06 +01:00
|
|
|
release=1
|
2012-01-16 19:46:09 +01:00
|
|
|
_version=$(printf "%i%.2i%.2i%.2i" ${version//./ })
|
2006-11-10 16:21:43 +01:00
|
|
|
|
2019-02-08 10:50:09 +01:00
|
|
|
source=(http://www.sqlite.org/2019/sqlite-autoconf-${_version}.tar.gz)
|
2006-11-10 16:21:43 +01:00
|
|
|
|
|
|
|
build () {
|
2012-01-16 19:46:09 +01:00
|
|
|
cd sqlite-autoconf-${_version}
|
2015-05-11 12:58:21 +02:00
|
|
|
|
2013-02-01 16:36:00 +01:00
|
|
|
CFLAGS="-DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_COLUMN_METADATA=1 \
|
2015-08-21 17:54:12 +02:00
|
|
|
-DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -DSQLITE_ENABLE_DBSTAT_VTAB=1 \
|
2017-01-29 11:38:16 +01:00
|
|
|
-DSQLITE_ENABLE_FTS3=1 $CFLAGS" \
|
2016-07-16 12:32:22 +02:00
|
|
|
./configure --prefix=/usr --enable-readline
|
2015-05-11 12:58:21 +02:00
|
|
|
|
2016-01-15 14:08:41 +01:00
|
|
|
make
|
2006-11-10 16:21:43 +01:00
|
|
|
make DESTDIR=$PKG install
|
|
|
|
}
|