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
|
2006-11-10 16:21:43 +01:00
|
|
|
# Depends on: ncurses, readline
|
|
|
|
|
|
|
|
name=sqlite3
|
2016-02-17 10:46:00 +01:00
|
|
|
version=3.11.0
|
|
|
|
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
|
|
|
|
2016-01-08 16:00:02 +01:00
|
|
|
source=(http://www.sqlite.org/2016/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 \
|
|
|
|
$CFLAGS" \
|
2016-01-15 14:08:41 +01:00
|
|
|
./configure --prefix=/usr
|
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
|
|
|
|
}
|