mirror of
https://gitdl.cn/https://github.com/chakralinux/lib32.git
synced 2025-02-03 02:37:15 +08:00
update lib32-sqlite3
This commit is contained in:
parent
8a08a38620
commit
2cff177b73
@ -1,7 +1,8 @@
|
||||
_pkgbasename=sqlite3
|
||||
pkgname=lib32-sqlite3
|
||||
_amalgamationver=3120100
|
||||
pkgver=3.12.1
|
||||
_srcver=3130000
|
||||
_docver=${_srcver}
|
||||
pkgver=3.13.0
|
||||
pkgrel=1
|
||||
pkgdesc="A C library that implements an SQL database engine (32-bit)"
|
||||
arch=('x86_64')
|
||||
@ -9,41 +10,36 @@ license=('custom')
|
||||
url="http://www.sqlite.org/"
|
||||
depends=(lib32-glibc $_pkgbasename=$pkgver 'lib32-gcc-libs')
|
||||
makedepends=('tcl' 'gcc' 'lib32-readline')
|
||||
source=(https://www.sqlite.org/2016/sqlite-autoconf-${_amalgamationver}.tar.gz)
|
||||
sha1sums=('fa1f3dbf6e2e8c6d14125b2eceda5b2e16a19f1f')
|
||||
source=(http://www.sqlite.org/2016/sqlite-src-${_srcver}.zip)
|
||||
sha1sums=('e8a1530a0f2bfe427c966da5399f4d431ae51533')
|
||||
options=('!makeflags')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/sqlite-autoconf-${_amalgamationver}
|
||||
cd "$srcdir"/sqlite-src-$_srcver
|
||||
|
||||
export CC="gcc -m32"
|
||||
export CXX="g++ -m32"
|
||||
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
|
||||
|
||||
export LTLINK_EXTRAS="-ldl"
|
||||
export CFLAGS="$CFLAGS -DSQLITE_ENABLE_COLUMN_METADATA=1 \
|
||||
export CFLAGS="$CFLAGS -DSQLITE_ENABLE_FTS3=1 \
|
||||
-DSQLITE_ENABLE_COLUMN_METADATA=1 \
|
||||
-DSQLITE_ENABLE_UNLOCK_NOTIFY \
|
||||
-DSQLITE_SECURE_DELETE \
|
||||
-DSQLITE_ENABLE_DBSTAT_VTAB \
|
||||
-DSQLITE_ENABLE_DBSTAT_VTAB=1 \
|
||||
-DSQLITE_ENABLE_FTS3_TOKENIZER=1 \
|
||||
-DSQLITE_ENABLE_API_ARMOR"
|
||||
-DSQLITE_ENABLE_RTREE=1 \
|
||||
-DSQLITE_SECURE_DELETE"
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib32 \
|
||||
--disable-static \
|
||||
--disable-amalgamation \
|
||||
--enable-fts3 \
|
||||
--enable-fts4 \
|
||||
--enable-fts5 \
|
||||
--enable-rtree \
|
||||
--enable-json1
|
||||
--libdir=/usr/lib32 \
|
||||
--disable-tcl \
|
||||
--disable-static
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/sqlite-autoconf-${_amalgamationver}
|
||||
cd "$srcdir"/sqlite-src-$_srcver
|
||||
|
||||
make DESTDIR=${pkgdir} install
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user