27 lines
784 B
Plaintext
Raw Normal View History

# Description: SQL database engine
# URL: https://www.sqlite.org/
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
# Depends on: ncurses-32 readline-32 sqlite3
name=sqlite3-32
2017-05-31 00:13:46 +10:00
version=3.19.2
2017-03-02 22:23:04 +11:00
release=1
_version=$(printf "%i%.2i%.2i%.2i" ${version//./ })
source=(https://www.sqlite.org/2017/sqlite-autoconf-${_version}.tar.gz)
2015-07-31 21:48:09 +10:00
build() {
cd sqlite-autoconf-${_version}
2016-10-16 13:05:26 +11:00
CONFIG_SHELL=/bin/bash \
2013-03-20 02:35:42 +11:00
CFLAGS="-DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_COLUMN_METADATA=1 \
2016-10-16 13:05:26 +11:00
-DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -DSQLITE_ENABLE_DBSTAT_VTAB=1 \
2017-02-05 12:44:55 +11:00
-DSQLITE_ENABLE_FTS3=1 $CFLAGS" \
2016-10-16 13:05:26 +11:00
./configure --prefix=/usr --libdir=/usr/lib32 --enable-readline
2016-10-16 13:05:26 +11:00
make
make DESTDIR=$PKG install
2016-02-18 21:17:02 +11:00
rm -r $PKG/usr/{bin,include,share/man,share}
}