blob: ce258aaba5c60e494987fee2d95461054d2a5fb7 (
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
|
#!/bin/sh -xe
# check build environment
prepare()
{
if [ "${TARGET_OS}" != "windows-32" ] && [ "${TARGET_OS}" != "windows-64" ]
then
exit 1
fi
PYTHON_DIR=`env | grep PATH | grep Python`
if [ "$PYTHON_DIR" = "" ]
then
echo "Make sure that you have installed Python 2.x version"
echo "and then set installed Python/bin path into PATH system variable on your PC!"
exit 1
fi
ROOTDIR=$MSYS_ROOTDIR
}
# clean
clean()
{
echo "nothing to do"
}
# build
build()
{
. $SRCDIR/package/build.common
build_common
}
# install
install()
{
. $SRCDIR/package/build.common
install_common
}
|