mirror of
https://gitdl.cn/https://github.com/chakralinux/lib32.git
synced 2025-01-24 01:42:15 +08:00
lib32-sqlite3: updated accordingly
This commit is contained in:
parent
89e034b9b4
commit
2ff7092089
@ -1,7 +1,7 @@
|
|||||||
_pkgbasename=sqlite3
|
_pkgbasename=sqlite3
|
||||||
pkgname=lib32-sqlite3
|
pkgname=lib32-sqlite3
|
||||||
_amalgamationver=3110100
|
_amalgamationver=3120100
|
||||||
pkgver=3.11.1
|
pkgver=3.12.1
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="A C library that implements an SQL database engine (32-bit)"
|
pkgdesc="A C library that implements an SQL database engine (32-bit)"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
@ -10,7 +10,7 @@ url="http://www.sqlite.org/"
|
|||||||
depends=(lib32-glibc $_pkgbasename=$pkgver 'lib32-gcc-libs')
|
depends=(lib32-glibc $_pkgbasename=$pkgver 'lib32-gcc-libs')
|
||||||
makedepends=('tcl' 'gcc' 'lib32-readline')
|
makedepends=('tcl' 'gcc' 'lib32-readline')
|
||||||
source=(https://www.sqlite.org/2016/sqlite-autoconf-${_amalgamationver}.tar.gz)
|
source=(https://www.sqlite.org/2016/sqlite-autoconf-${_amalgamationver}.tar.gz)
|
||||||
sha1sums=('c4b4dcd735a4daf5a2e2bb90f374484c8d4dad29')
|
sha1sums=('fa1f3dbf6e2e8c6d14125b2eceda5b2e16a19f1f')
|
||||||
options=('!makeflags')
|
options=('!makeflags')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
@ -21,10 +21,22 @@ build() {
|
|||||||
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
|
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
|
||||||
|
|
||||||
export LTLINK_EXTRAS="-ldl"
|
export LTLINK_EXTRAS="-ldl"
|
||||||
export CFLAGS="$CFLAGS -DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_SECURE_DELETE"
|
export CFLAGS="$CFLAGS -DSQLITE_ENABLE_COLUMN_METADATA=1 \
|
||||||
|
-DSQLITE_ENABLE_UNLOCK_NOTIFY \
|
||||||
|
-DSQLITE_SECURE_DELETE \
|
||||||
|
-DSQLITE_ENABLE_DBSTAT_VTAB \
|
||||||
|
-DSQLITE_ENABLE_FTS3_TOKENIZER=1 \
|
||||||
|
-DSQLITE_ENABLE_API_ARMOR"
|
||||||
|
|
||||||
./configure --prefix=/usr --libdir=/usr/lib32 \
|
./configure --prefix=/usr \
|
||||||
--disable-static
|
--libdir=/usr/lib32 \
|
||||||
|
--disable-static \
|
||||||
|
--disable-amalgamation \
|
||||||
|
--enable-fts3 \
|
||||||
|
--enable-fts4 \
|
||||||
|
--enable-fts5 \
|
||||||
|
--enable-rtree \
|
||||||
|
--enable-json1
|
||||||
|
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user