configure 4.3.8:

- separate BUILD group for build dependencies
parent 77e6c305
......@@ -14,7 +14,7 @@ APP_VERSION=9.3
APP_CODENAME="Trick or Treat"
APP_LANGUAGES="de"
CFG_VERSION="4.3.7"
CFG_VERSION="4.3.8"
if [[ -d "/usr/lib/girepository-1.0/" ]]; then
export GIRPATH="/usr/lib/girepository-1.0"
......
......@@ -10,9 +10,11 @@
#########################################################
check () {
for dir in ${PATH//:/ }; do
[[ -x ${dir}/${1} ]] && (echo found && continue 2)
done
}
check_helper () {
......@@ -21,6 +23,7 @@ check_helper () {
[[ ${OPT_APPS[@]} ]] && (section_message OPT_APP && check_apps "true" "${OPT_APPS[@]}")
[[ ${SAPPS[@]} ]] && (section_message SBINAPP && check_apps "false" "${SAPPS[@]}")
[[ ${OPT_SAPPS[@]} ]] && (section_message OPT_SBINAPP && check_apps "true" "${OPT_SAPPS[@]}")
[[ ${BUILD[@]} ]] && (section_message BUILD && check_apps "false" "${BUILD[@]}")
[[ ${PYMODS[@]} ]] && check_python
[[ ${PYMODS[@]} ]] && (section_message PYMOD && check_pymods "false" "${PYMODS[@]}")
[[ ${OPT_PYMODS[@]} ]] && (section_message OPT_PYMOD && check_pymods "true" "${OPT_PYMODS[@]}")
......
APPS=( bash gawk grep sed bc msgfmt less )
APPS=( bash gawk grep sed bc less )
OPT_APPS=( "acpi:systemkit battery won't work"
"lspci:systemkit pci won't work"
"lsusb:systemkit usb won't work"
......@@ -9,6 +9,8 @@ OPT_APPS=( "acpi:systemkit battery won't work"
SAPPS=( )
OPT_SAPPS=( "dmidecode:systemkit bios won't work" )
BUILD=( "msgfmt:can't build translation files" )
LIBS=( )
OPT_LIBS=( )
......
......@@ -16,6 +16,7 @@ section_message () {
OPT_APP ) echo -e "\n${MAGENTA}< Optional ${WHITE}Applications" ;;
SBINAPP ) echo -e "\n${RED}< Required ${WHITE}SuperUser Applications" ;;
OPT_SBINAPP ) echo -e "\n${MAGENTA}< Optional ${WHITE}SuperUser Applications" ;;
BUILD ) echo -e "\n${RED}< Required ${WHITE}Build Tools" ;;
PY ) echo -e "\n${RED}< Python Interpreter${WHITE} > ${PYMINVER_P} && < ${PYMAXVER_P}" ;;
PYMOD ) echo -e "\n${RED}< Required ${WHITE}Python Modules" ;;
OPT_PYMOD ) echo -e "\n${MAGENTA}< Optional ${WHITE}Python Modules" ;;
......@@ -107,8 +108,10 @@ help_message () {
}
missing_girpath_message () {
echo -e "${RED}*** GIRPATH not detected ***${WHITE}
configure --girpath=<girpath> to specify where to look for
gobject-introspection files\n"
tput sgr0
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment