scripts/build/tools/000-template.sh
changeset 1854 02b74bd4373f
parent 1853 8676886c1ca9
child 1855 73917704e1d7
     1.1 --- a/scripts/build/tools/000-template.sh	Mon Mar 15 22:02:02 2010 +0100
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,34 +0,0 @@
     1.4 -# Template file for a tool utility
     1.5 -
     1.6 -# Put your download code here
     1.7 -do_tools_foobar_get() {
     1.8 -    # For example:
     1.9 -    # CT_GetFile "foobar-${CT_FOOBAR_VERSION}" http://foobar.com/releases/
    1.10 -    :
    1.11 -}
    1.12 -
    1.13 -# Put your extract code here
    1.14 -do_tools_foobar_extract() {
    1.15 -    # For example:
    1.16 -    # CT_Extract "foobar-${CT_FOOBAR_VERSION}"
    1.17 -    # CT_Patch "foobar-${CT_FOOBAR_VERSION}"
    1.18 -    :
    1.19 -}
    1.20 -
    1.21 -# Put your build code here
    1.22 -do_tools_foobar_build() {
    1.23 -    # For example:
    1.24 -    # mkdir -p "${CT_BUILD_DIR}/build-foobar"
    1.25 -    # CT_Pushd "${CT_BUILD_DIR}/build-foobar"
    1.26 -    # CT_DoExecLog ALL                                        \
    1.27 -    # "${CT_SRC_DIR}/foobar-${CT_FOOBAR_VERSION}/configure"   \
    1.28 -    #     --build=${CT_BUILD}                                 \
    1.29 -    #     --host=${CT_TARGET}                                 \
    1.30 -    #     --prefix=/usr                                       \
    1.31 -    #     --foobar-options
    1.32 -    # CT_DoExecLog ALL make
    1.33 -    # CT_DoExecLog ALL make DESTDIR="${CT_SYSROOT_DIR}" install
    1.34 -    # CT_Popd
    1.35 -    :
    1.36 -}
    1.37 -