#!/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 }