sqlite
This commit is contained in:
1 parent
68f2db098e
commit
bc6ab5cb27
2 files changed
+51
-4
No files matched your search
@@ -0,0 +1,44 @@
|
||||
#!/usr/bin/env bash
|
||||
name='sqlite'
|
||||
release='1'
|
||||
version='3.40.0'
|
||||
url='https://example.org'
|
||||
description='A C library that implements an SQL database engine'
|
||||
email='parduscix@yandex.ru'
|
||||
maintainer='sulincix'
|
||||
license=('GPLv3')
|
||||
srcver=3400000
|
||||
source=("https://sqlite.org/2022/sqlite-autoconf-$srcver.tar.gz")
|
||||
depends=(zlib readline)
|
||||
makedepends=( )
|
||||
md5sums=('c833d61da768a116fa16d910f43cfd9a')
|
||||
uses=()
|
||||
group=(dev.db)
|
||||
arch=('x86_64')
|
||||
|
||||
cd $name-autoconf-$srcver
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64 \
|
||||
--enable-fts3 \
|
||||
--enable-fts4 \
|
||||
--enable-fts5 \
|
||||
--enable-rtree \
|
||||
CPPFLAGS="-DSQLITE_ENABLE_FTS3=1 \
|
||||
-DSQLITE_ENABLE_FTS4=1 \
|
||||
-DSQLITE_ENABLE_COLUMN_METADATA=1 \
|
||||
-DSQLITE_ENABLE_UNLOCK_NOTIFY=1 \
|
||||
-DSQLITE_ENABLE_DBSTAT_VTAB=1 \
|
||||
-DSQLITE_SECURE_DELETE=1 \
|
||||
-DSQLITE_ENABLE_FTS3_TOKENIZER=1"
|
||||
}
|
||||
|
||||
build(){
|
||||
make -j`nproc`
|
||||
}
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
}
|
||||
|
||||
@@ -8,11 +8,14 @@ email='parduscix@yandex.ru'
|
||||
maintainer='sulincix'
|
||||
license=('custom')
|
||||
source=("https://www.python.org/ftp/python/$version/Python-$version.tar.xz")
|
||||
depends=('bzip2' 'expat' 'gdbm' 'libffi' 'libnsl' 'libxcrypt' 'openssl' 'zlib' )
|
||||
depends=('bzip2' 'gdbm' 'libnsl' 'libxcrypt' 'openssl' 'zlib' 'sqlite')
|
||||
makedepends=( )
|
||||
md5sums=('e92356b012ed4d0e09675131d39b1bde')
|
||||
uses=()
|
||||
uses=(expat ffi)
|
||||
ffi_depends=('libffi')
|
||||
expat_depends=('expat')
|
||||
arch=('x86_64')
|
||||
group=(dev.lang)
|
||||
|
||||
export CFLAGS="-O2 -s"
|
||||
export CXXFLAGS="-O2 -s"
|
||||
@@ -25,8 +28,8 @@ setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64 \
|
||||
--enable-shared \
|
||||
--with-system-expat \
|
||||
--with-system-ffi \
|
||||
$(use_opt expat --with-system-expat "") \
|
||||
$(use_opt ffi --with-system-ffi "") \
|
||||
--enable-optimizations
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user