2017-04-17 14:23:44 +02:00
|
|
|
|
# Description: SQL veritabanı motoru
|
|
|
|
|
# URL: http://www.sqlite.org/
|
2016-11-20 19:00:07 +01:00
|
|
|
|
# Packager: milisarge
|
|
|
|
|
# Depends on: ncurses readline
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
|
|
name=sqlite
|
2017-05-16 05:28:12 +02:00
|
|
|
|
version=3.18.0
|
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
|
|
|
|
|
2016-03-08 17:03:53 +01:00
|
|
|
|
build () {
|
|
|
|
|
cd sqlite-autoconf-${_version}
|
|
|
|
|
|
|
|
|
|
CONFIG_SHELL=/bin/bash \
|
|
|
|
|
CFLAGS="-DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_COLUMN_METADATA=1 \
|
|
|
|
|
-DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -DSQLITE_ENABLE_DBSTAT_VTAB=1 \
|
|
|
|
|
$CFLAGS" \
|
|
|
|
|
./configure --prefix=/usr
|
|
|
|
|
|
|
|
|
|
make
|
|
|
|
|
make DESTDIR=$PKG install
|
2016-02-24 01:27:23 +01:00
|
|
|
|
}
|