blob: da070fe1ea4ef386e216ef295287a5dc156e5b73 (
plain)
1 # Description: SQL database engine
2 # URL: https://www.sqlite.org/
3 # Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
4 # Depends on: readline-32 sqlite3
5
6 name=sqlite3-32
7 version=3.39.0
8 release=1
9 _version=$(printf "%i%.2i%.2i%.2i" ${version//./ })
10
11 source=(https://www.sqlite.org/2021/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 --libdir=/usr/lib32 --enable-readline
20
21 make
22 make DESTDIR=$PKG install
23
24 rm -r $PKG/usr/{bin,include,share/man,share}
25 }
|