mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-20 13:23:08 +00:00
bf86627982
It is the responsibility of the caller to split the package name from its version. It already knows that.
35 lines
999 B
Bash
35 lines
999 B
Bash
# 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:
|
|
# CT_Extract "foobar-${CT_FOOBAR_VERSION}"
|
|
# CT_Patch "foobar" "${CT_FOOBAR_VERSION}"
|
|
:
|
|
}
|
|
|
|
# Put your build code here
|
|
do_debug_foobar_build() {
|
|
# For example:
|
|
# mkdir -p "${CT_BUILD_DIR}/build-foobar"
|
|
# CT_Pushd "${CT_BUILD_DIR}/build-foobar"
|
|
# CT_DoExecLog ALL \
|
|
# "${CT_SRC_DIR}/foobar-${CT_FOOBAR_VERSION}/configure" \
|
|
# --build=${CT_BUILD} \
|
|
# --host=${CT_TARGET} \
|
|
# --prefix=/usr \
|
|
# --foobar-options
|
|
# CT_DoExecLog ALL make
|
|
# CT_DoExecLog ALL make DESTDIR="${CT_SYSROOT_DIR}" install
|
|
# CT_Popd
|
|
:
|
|
}
|
|
|