blob: 1cbd05e58b4ce5bd72d814940211906e94274030 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Description: Librairie C qui implémente un moteur de base de données SQL
# URL: http://www.sqlite.org/
# Maintainer: Richard Hipp, Dan Kennedy
# Packager: thierryn1 at hispeed dot ch
# Depends on:
name=sqlite3
version=3.7.10
release=1
_amalgamationver=3070500
_amalgamationver2=${_amalgamationver/00/}
pkgver=${_amalgamationver2//0/.}
#source=(http://www.sqlite.org/sqlite-$version.tar.gz)
source=(http://www.sqlite.org/sqlite-autoconf-$_amalgamationver.tar.gz
http://www.sqlite.org/sqlite-tea-$_amalgamationver.tar.gz
http://www.sqlite.org/sqlite-doc-${_amalgamationver}.zip )
build() {
export CFLAGS="$CFLAGS -DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_SECURE_DELETE"
cd $SRC/sqlite-autoconf-$_amalgamationver
./configure --prefix=/usr \
--enable-static \
--enable-threadsafe \
--enable-readline \
--enable-dynamic-extensions
make
make DESTDIR=$PKG install
cd $SRC/sqlite-tea-$_amalgamationver
./configure --prefix=/usr \
--with-system-sqlite \
--enable-static \
--enable-threadsafe \
--enable-readline \
--enable-dynamic-extensions
make
make DESTDIR=$PKG install
}
|