scripts/build/companion_tools/050-make.sh
changeset 2285 7d1e018167b5
child 2309 2e0f0757289d
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/scripts/build/companion_tools/050-make.sh	Sat Jan 29 00:57:02 2011 +0100
     1.3 @@ -0,0 +1,26 @@
     1.4 +# Build script for make
     1.5 +
     1.6 +CT_MAKE_VERSION=3.81
     1.7 +
     1.8 +do_companion_tools_make_get() {
     1.9 +    CT_GetFile "make-${CT_MAKE_VERSION}" \
    1.10 +               {http,ftp}://ftp.gnu.org/gnu/make
    1.11 +}
    1.12 +
    1.13 +do_companion_tools_make_extract() {
    1.14 +    CT_Extract "make-${CT_MAKE_VERSION}"
    1.15 +    CT_Patch "make" "${CT_MAKE_VERSION}"
    1.16 +}
    1.17 +
    1.18 +do_companion_tools_make_build() {
    1.19 +    CT_DoStep EXTRA "Installing make"
    1.20 +    mkdir -p "${CT_BUILD_DIR}/build-make"
    1.21 +    CT_Pushd "${CT_BUILD_DIR}/build-make"
    1.22 +
    1.23 +    CT_DoExecLog CFG "${CT_SRC_DIR}/make-${CT_MAKE_VERSION}/configure" \
    1.24 +                     --prefix="${CT_TOOLS_OVERIDE_DIR}"
    1.25 +    CT_DoExecLog ALL make
    1.26 +    CT_DoExecLog ALL make install
    1.27 +    CT_Popd
    1.28 +    CT_EndStep
    1.29 +}