|
|
@ -21,6 +21,7 @@ _init() { |
|
|
|
|
|
|
|
|
|
|
|
## Minimum required versions for build dependencies |
|
|
|
## Minimum required versions for build dependencies |
|
|
|
GIT_VERSION="1.0" |
|
|
|
GIT_VERSION="1.0" |
|
|
|
|
|
|
|
YASM_VERSION="1.2.0" |
|
|
|
CURL_VERSION="7.12.0" |
|
|
|
CURL_VERSION="7.12.0" |
|
|
|
GPG_VERSION="1.3" |
|
|
|
GPG_VERSION="1.3" |
|
|
|
GO_VERSION="1.5.1" |
|
|
|
GO_VERSION="1.5.1" |
|
|
@ -192,6 +193,11 @@ check_deps() { |
|
|
|
if [ $? -ge 2 ]; then |
|
|
|
if [ $? -ge 2 ]; then |
|
|
|
MISSING="${MISSING} curl" |
|
|
|
MISSING="${MISSING} curl" |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
check_version "$(env yasm --version 2>/dev/null | sed 's/^.* \([0-9.]*\).*$/\1/' | head -1)" "${YASM_VERSION}" |
|
|
|
|
|
|
|
if [ $? -ge 2 ]; then |
|
|
|
|
|
|
|
MISSING="${MISSING} yasm(${YASM_VERSION})" |
|
|
|
|
|
|
|
fi |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
main() { |
|
|
|
main() { |
|
|
|