File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # version of your package
4+ VERSION_freetype=2.4.11
5+
6+ # dependencies of this recipe
7+ DEPS_freetype=()
8+
9+ # url of the package
10+ URL_freetype=http://download.savannah.gnu.org/releases/freetype/freetype-$VERSION_freetype .tar.gz
11+
12+ # md5 of the package
13+ MD5_freetype=5af8234cf36f64dc2b97f44f89325117
14+
15+ # default build path
16+ BUILD_freetype=$BUILD_PATH /freetype/$( get_directory $URL_freetype )
17+
18+ # default recipe path
19+ RECIPE_freetype=$RECIPES_PATH /freetype
20+
21+ RECIPE_freetype=$RECIPES_PATH /freetype
22+ # function called for preparing source code if needed
23+ # (you can apply patch etc here.)
24+ function prebuild_freetype() {
25+ true
26+ }
27+
28+ # function called to build the source code
29+ function build_freetype() {
30+ cd $BUILD_freetype
31+ push_arm
32+ try ./configure --host=arm-linux-androideabi --prefix=" $BUILD_PATH /python-install"
33+ try make
34+ try make install
35+ pop_arm
36+ }
37+
38+ # function called after all the compile have been done
39+ function postbuild_freetype() {
40+ true
41+ }
42+
You can’t perform that action at this time.
0 commit comments