2007-06-16 17:41:01 +00:00
|
|
|
# Template file for a debug utility
|
|
|
|
|
|
|
|
# Put your download code here
|
|
|
|
do_debug_foobar_get() {
|
|
|
|
# For example:
|
|
|
|
# CT_GetFile "foobar-${CT_FOOBAR_VERSION}" http://foobar.com/releases/
|
|
|
|
:
|
|
|
|
}
|
|
|
|
|
|
|
|
# Put your extract code here
|
|
|
|
do_debug_foobar_extract() {
|
|
|
|
# For example:
|
2009-01-05 23:02:43 +00:00
|
|
|
# CT_Extract "foobar-${CT_FOOBAR_VERSION}"
|
2010-04-11 21:18:10 +00:00
|
|
|
# CT_Patch "foobar" "${CT_FOOBAR_VERSION}"
|
2007-06-16 17:41:01 +00:00
|
|
|
:
|
|
|
|
}
|
|
|
|
|
|
|
|
# Put your build code here
|
|
|
|
do_debug_foobar_build() {
|
|
|
|
# For example:
|
2007-07-11 21:01:37 +00:00
|
|
|
# mkdir -p "${CT_BUILD_DIR}/build-foobar"
|
|
|
|
# CT_Pushd "${CT_BUILD_DIR}/build-foobar"
|
2008-07-14 16:04:41 +00:00
|
|
|
# CT_DoExecLog ALL \
|
2007-06-16 17:41:01 +00:00
|
|
|
# "${CT_SRC_DIR}/foobar-${CT_FOOBAR_VERSION}/configure" \
|
|
|
|
# --build=${CT_BUILD} \
|
|
|
|
# --host=${CT_TARGET} \
|
|
|
|
# --prefix=/usr \
|
|
|
|
# --foobar-options
|
2008-07-14 16:04:41 +00:00
|
|
|
# CT_DoExecLog ALL make
|
|
|
|
# CT_DoExecLog ALL make DESTDIR="${CT_SYSROOT_DIR}" install
|
2007-06-16 17:41:01 +00:00
|
|
|
# CT_Popd
|
|
|
|
:
|
|
|
|
}
|
|
|
|
|