File tree 3 files changed +23
-16
lines changed
3 files changed +23
-16
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- VERSION_jpeg=
4
- URL_jpeg=
3
+ VERSION_jpeg=${VERSION_jpeg :- 9a}
4
+ URL_jpeg=http://ijg.org/files/jpegsrc.v $VERSION_jpeg .tar.gz
5
5
MD5_jpeg=
6
- BUILD_jpeg=$SRC_PATH /jni/ jpeg
6
+ BUILD_jpeg=$BUILD_PATH / jpeg/ $( get_directory $URL_jpeg )
7
7
RECIPE_jpeg=$RECIPES_PATH /jpeg
8
8
9
9
function prebuild_jpeg() {
10
10
true
11
11
}
12
12
13
13
function build_jpeg() {
14
- cd $SRC_PATH /jni
14
+ cd $BUILD_jpeg
15
15
push_arm
16
- try ndk-build V=1 jpeg
16
+ try ./configure --build=i686-pc-linux-gnu --host=arm-linux-eabi
17
+ try make
18
+ try cp .libs/libjpeg.a $LIBS_PATH
17
19
pop_arm
18
20
}
19
21
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- VERSION_png=
4
- URL_png=
5
- MD5_png=
6
- BUILD_png=$SRC_PATH /jni/ png
3
+ VERSION_png=${VERSION_png :- 1.6.12}
4
+ URL_png=http://downloads.sourceforge.net/project/libpng/libpng16/ $VERSION_png /libpng- $VERSION_png .tar.gz
5
+ MD5_png=297388a6746a65a2127ecdeb1c6e5c82
6
+ BUILD_png=$BUILD_PATH / png/ $( get_directory $URL_png )
7
7
RECIPE_png=$RECIPES_PATH /png
8
8
9
9
function prebuild_png() {
10
10
true
11
11
}
12
12
13
13
function build_png() {
14
- cd $SRC_PATH /jni
14
+ cd $BUILD_png
15
15
push_arm
16
- try ndk-build V=1 png
16
+ try cp scripts/pnglibconf.h.prebuilt pnglibconf.h
17
+ try cp scripts/makefile.gcc makefile
18
+ try env make CC=" $CC "
19
+ try cp libpng.a $LIBS_PATH
17
20
pop_arm
18
21
}
19
22
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- VERSION_sqlite3=3
4
- URL_sqlite3=
3
+ VERSION_sqlite3=${VERSION_sqlite3 :- 3080500}
4
+ URL_sqlite3=http://www.sqlite.org/2014/sqlite-autoconf- $VERSION_sqlite3 .tar.gz
5
5
MD5_sqlite3=
6
- BUILD_sqlite3=$SRC_PATH /jni/ sqlite3
6
+ BUILD_sqlite3=$BUILD_PATH / sqlite3/ $( get_directory $URL_sqlite3 )
7
7
RECIPE_sqlite3=$RECIPES_PATH /sqlite3
8
8
9
9
function prebuild_sqlite3() {
10
10
true
11
11
}
12
12
13
13
function build_sqlite3() {
14
- cd $SRC_PATH /jni
14
+ cd $BUILD_sqlite3
15
15
push_arm
16
- try ndk-build V=1 sqlite3
16
+ try ./configure --build=i686-pc-linux-gnu --host=arm-linux-eabi
17
+ try make
18
+ try cp .libs/libsqlite3.so " $LIBS_PATH "
17
19
pop_arm
18
20
}
19
21
You can’t perform that action at this time.
0 commit comments