forked from kivy/python-for-android
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrecipe.sh.tmpl
More file actions
39 lines (29 loc) · 794 Bytes
/
recipe.sh.tmpl
File metadata and controls
39 lines (29 loc) · 794 Bytes
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
#!/bin/bash
# REPLACE ALL THE "xxx" OF THIS FILE WITH THE MODULE NAME
# THEN REMOVE THIS ERROR AND EXIT
error "not configure" && exit -1
# version of your package
VERSION_xxx=${VERSION_xxx:-1.3}
# dependencies of this recipe
DEPS_xxx=()
# url of the package
URL_xxx=http://www.libxxx.org/xxx-$VERSION_xxx.tar.gz
# md5 of the package
MD5_xxx=7176d5f1a0f2683bf1394e0de18c74bb
# default build path
BUILD_xxx=$BUILD_PATH/xxx/$(get_directory $URL_xxx)
# default recipe path
RECIPE_xxx=$RECIPES_PATH/xxx
# function called for preparing source code if needed
# (you can apply patch etc here.)
function prebuild_xxx() {
true
}
# function called to build the source code
function build_xxx() {
true
}
# function called after all the compile have been done
function postbuild_xxx() {
true
}