- static_ipkg ${PACKAGE} cis-ac-nobuild ${PACKAGE} ${CONFIGURE_OPTS}
-}
-
-
-# Installation of a GNOME package.
-#
-# First argument: package name
-ipkg_gnome()
-{
- # Checking for correct number of arguments
- if [ $# -ne 1 ]; then
- echo
- echo "${FUNCNAME}(): Wrong number of arguments"
- echo " command was: \"${FUNCNAME}() $*\""
- exit ${EXIT_FAILURE}
- fi
-
- static_ipkg ${1} cis-gnome ${1}
-}
-
-
-# Installation of a PERL module
-#
-# First argument: package name
-ipkg_pm()
-{
- # Checking for correct number of arguments
- if [ $# -ne 1 ]; then
- echo
- echo "${FUNCNAME}(): Wrong number of arguments"
- echo " command was: \"${FUNCNAME}() $*\""
- exit ${EXIT_FAILURE}
- fi
-
- static_ipkg ${1} cis-pm ${1}
-}
-
-
-# Multiple installation of a package. This is usefull for packages
-# that may need to be installed multiple times, at different
-# times of the build process, like for GCC pas 1 and GCC pass 2.
-#
-# First argument: Real package name
-# Second argument: Installation script name
-# Third argument: Unique identification label in 'install.log'
-ipkg_mult()
-{
- # Checking for correct number of arguments
- if [ $# -ne 3 ]; then
- echo
- echo "${FUNCNAME}(): Wrong number of arguments"
- echo " command was: \"${FUNCNAME}() $*\""
- exit ${EXIT_FAILURE}
- fi
-
- static_ipkg ${1} ${2} ${3}
-}
-
-
-# Installation of a package
-#
-# First argument: Real package name
-# Second argument: Installation script name
-# Third argument: Unique identification label in 'install.log'
-# Remaining arguments: Additional configure options
-static_ipkg()
-{
- local START_TIME=$(echo `date +%s`)
- local PACKAGE_NAME=${1}
- local SCRIPT=./${2}
- local LABEL=${3}
-
- # Checking for correct number of arguments
- if [ $# -lt 3 ]; then
- echo
- echo "${FUNCNAME}(): Missing argument"
- echo " command was: \"${FUNCNAME}() $*\""
- exit ${EXIT_FAILURE}