blob: f25fccbf690b5ecfbfcc1d125899248defe12fc2 (
plain)
1 # Description: SQL database engine
2 # URL: https://www.sqlite.org/
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4 # Depends on: readline zlib
5
6 name=sqlite3
7 version=3.40.0
8 release=1
9 _version=$(printf "%i%.2i%.2i%.2i" ${version//./ })
10
11 source=(https://www.sqlite.org/2022/sqlite-autoconf-${_version}.tar.gz)
12
13 build() {
14 cd sqlite-autoconf-${_version}
15
16 CFLAGS="-DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_COLUMN_METADATA=1 \
17 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -DSQLITE_ENABLE_DBSTAT_VTAB=1 \
18 -DSQLITE_ENABLE_FTS3=1 $CFLAGS" \
19 ./configure --prefix=/usr --enable-readline
20
21 make
22 make DESTDIR=$PKG install
23 }
|