2020-06-26 14:09:17 +02:00
|
|
|
# Description: SQL database engine
|
2021-03-13 14:20:37 +01:00
|
|
|
# URL: https://www.sqlite.org/
|
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
|
|
# Depends on: readline zlib
|
2020-06-26 14:09:17 +02:00
|
|
|
|
|
|
|
name=sqlite3
|
2023-11-01 17:05:17 +01:00
|
|
|
version=3.44.0
|
2020-06-26 14:09:17 +02:00
|
|
|
release=1
|
|
|
|
_version=$(printf "%i%.2i%.2i%.2i" ${version//./ })
|
|
|
|
|
2023-02-22 10:30:33 +01:00
|
|
|
source=(https://www.sqlite.org/2023/sqlite-autoconf-${_version}.tar.gz)
|
2020-06-26 14:09:17 +02:00
|
|
|
|
2021-03-13 14:20:37 +01:00
|
|
|
build() {
|
|
|
|
cd sqlite-autoconf-${_version}
|
2021-01-22 12:18:25 +01:00
|
|
|
|
2021-03-13 14:20:37 +01:00
|
|
|
CFLAGS="-DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_COLUMN_METADATA=1 \
|
|
|
|
-DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -DSQLITE_ENABLE_DBSTAT_VTAB=1 \
|
2021-03-18 10:44:51 +01:00
|
|
|
-DSQLITE_ENABLE_FTS3=1 $CFLAGS" \
|
2021-03-13 14:20:37 +01:00
|
|
|
./configure --prefix=/usr --enable-readline
|
2021-01-22 12:18:25 +01:00
|
|
|
|
2022-02-23 15:21:23 +01:00
|
|
|
make
|
2021-03-13 14:20:37 +01:00
|
|
|
make DESTDIR=$PKG install
|
2020-06-26 14:09:17 +02:00
|
|
|
}
|