2
2
3
3
4
4
# version of your package
5
- VERSION_apsw=${VERSION_apsw:- 3.8.4.1 -r1}
5
+ VERSION_apsw=${VERSION_apsw:- 3.6.22 -r1}
6
6
7
7
8
8
# dependencies of this recipe
9
9
DEPS_apsw=(python)
10
10
11
11
12
12
# url of the package
13
- URL_apsw=https://github.com/rogerbinns/apsw/releases/download/3.8.4.1-r1/apsw-3.8.4.1-r1.zip
14
-
13
+ URL_apsw=https://github.com/rogerbinns/apsw/archive/3.6.22-r1.tar.gz
15
14
16
15
# md5 of the package
17
- MD5_apsw=5ad3098489576929b90f4215eb5b2621
18
-
16
+ MD5_apsw=3d7dbf82d10d5fd20c894945452871b8
19
17
20
18
# default build path
21
19
BUILD_apsw=$BUILD_PATH /apsw/$( get_directory $URL_apsw )
@@ -35,7 +33,9 @@ function prebuild_apsw() {
35
33
if [ ! -d ${BUILD_apsw} /sqlite3 ]; then
36
34
echo " fetching sqlite..."
37
35
# using /usr/bin/python for this
38
- python setup.py fetch --sqlite --version=3.8.4.1 --missing-checksum-ok
36
+ python setup.py fetch --sqlite --version=3.6.22 --missing-checksum-ok
37
+ # use included sqlite3 source files, because they somehow work
38
+ cp $BUILD_PATH /../src/jni/sqlite3/sqlite3.* sqlite3/
39
39
fi
40
40
41
41
@@ -99,7 +99,7 @@ function build_apsw() {
99
99
100
100
echo " building apsw in ` pwd` ..."
101
101
# now we can build; enable the FTS4 sqlite extension for full-text search
102
- try ${HOSTPYTHON} setup.py build --enable=fts4
102
+ try ${HOSTPYTHON} setup.py build --enable=fts3
103
103
echo " installing apsw..."
104
104
try ${HOSTPYTHON} setup.py install
105
105
echo " done with apsw."
0 commit comments