scripts/build/companion_tools/300-automake.sh
changeset 1729 dd72fa745318
child 1901 bdb3a98e064b
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/scripts/build/companion_tools/300-automake.sh	Tue Jan 12 21:47:36 2010 +0000
     1.3 @@ -0,0 +1,27 @@
     1.4 +# Build script for automake
     1.5 +
     1.6 +CT_AUTOMAKE_VERSION=1.11.1
     1.7 +
     1.8 +do_companion_tools_automake_get() {
     1.9 +    CT_GetFile "automake-${CT_AUTOMAKE_VERSION}" \
    1.10 +               {ftp,http}://ftp.gnu.org/gnu/automake
    1.11 +}
    1.12 +
    1.13 +do_companion_tools_automake_extract() {
    1.14 +    CT_Extract "automake-${CT_AUTOMAKE_VERSION}"
    1.15 +    CT_Patch "automake-${CT_AUTOMAKE_VERSION}"
    1.16 +}
    1.17 +
    1.18 +do_companion_tools_automake_build() {
    1.19 +    CT_DoStep EXTRA "Installing automake"
    1.20 +    mkdir -p "${CT_BUILD_DIR}/build-automake"
    1.21 +    CT_Pushd "${CT_BUILD_DIR}/build-automake"
    1.22 +    
    1.23 +    CT_DoExecLog ALL \
    1.24 +    "${CT_SRC_DIR}/automake-${CT_AUTOMAKE_VERSION}/configure" \
    1.25 +        --prefix="${CT_TOOLS_OVERIDE_DIR}"
    1.26 +    CT_DoExecLog ALL make
    1.27 +    CT_DoExecLog ALL make install
    1.28 +    CT_Popd
    1.29 +    CT_EndStep
    1.30 +}