mirror of
https://github.com/outbackdingo/ports.git
synced 2026-01-27 10:20:12 +00:00
sqlite-32: new port at 3.44.0
This commit is contained in:
1
multilib/sqlite-32/.checksums
Normal file
1
multilib/sqlite-32/.checksums
Normal file
@@ -0,0 +1 @@
|
||||
7d4a49f724ad0643f3c4bf7e5a5838c0 sqlite-autoconf-3440000.tar.gz
|
||||
8
multilib/sqlite-32/.pkgfiles
Normal file
8
multilib/sqlite-32/.pkgfiles
Normal file
@@ -0,0 +1,8 @@
|
||||
sqlite-32-3.44.0-1
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/lib32/
|
||||
lrwxrwxrwx root/root usr/lib32/libsqlite3.so -> libsqlite3.so.0.8.6
|
||||
lrwxrwxrwx root/root usr/lib32/libsqlite3.so.0 -> libsqlite3.so.0.8.6
|
||||
-rwxr-xr-x root/root usr/lib32/libsqlite3.so.0.8.6
|
||||
drwxr-xr-x root/root usr/lib32/pkgconfig/
|
||||
-rw-r--r-- root/root usr/lib32/pkgconfig/sqlite3.pc
|
||||
47
multilib/sqlite-32/spkgbuild
Normal file
47
multilib/sqlite-32/spkgbuild
Normal file
@@ -0,0 +1,47 @@
|
||||
# description : Software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine
|
||||
# depends : zlib readline ncurses
|
||||
|
||||
name=sqlite-32
|
||||
version=3.44.0
|
||||
_maj=${version%%.*}
|
||||
_mid=${version#*.}
|
||||
_mid=${_mid%%.*}
|
||||
_min=${version##*.}
|
||||
_version=${_maj}${_mid}0${_min}00
|
||||
release=1
|
||||
source="https://sqlite.org/2023/sqlite-autoconf-$_version.tar.gz"
|
||||
|
||||
build() {
|
||||
export CPPFLAGS="$CPPFLAGS \
|
||||
-DSQLITE_ENABLE_COLUMN_METADATA=1 \
|
||||
-DSQLITE_ENABLE_UNLOCK_NOTIFY \
|
||||
-DSQLITE_ENABLE_DBSTAT_VTAB=1 \
|
||||
-DSQLITE_ENABLE_FTS3_TOKENIZER=1 \
|
||||
-DSQLITE_ENABLE_FTS3_PARENTHESIS \
|
||||
-DSQLITE_SECURE_DELETE \
|
||||
-DSQLITE_ENABLE_STMTVTAB \
|
||||
-DSQLITE_MAX_VARIABLE_NUMBER=250000 \
|
||||
-DSQLITE_MAX_EXPR_DEPTH=10000 \
|
||||
-DSQLITE_ENABLE_MATH_FUNCTIONS"
|
||||
|
||||
export CC="gcc -m32"
|
||||
export CXX="g++ -m32"
|
||||
export PKG_CONFIG_LIBDIR="/usr/lib32/pkgconfig"
|
||||
|
||||
|
||||
cd sqlite-autoconf-$_version
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib32 \
|
||||
--build=i686-pc-linux-gnu \
|
||||
--disable-static \
|
||||
--enable-fts3 \
|
||||
--enable-fts4 \
|
||||
--enable-fts5
|
||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||
make
|
||||
make DESTDIR=$PWD/DESTDIR install
|
||||
|
||||
mkdir -p $PKG/usr/lib32
|
||||
mv DESTDIR/usr/lib32/* $PKG/usr/lib32/
|
||||
}
|
||||
Reference in New Issue
Block a user