2007-07-13 12:22:34 +00:00
|
|
|
# Build script for ltrace
|
|
|
|
|
|
|
|
do_debug_ltrace_get() {
|
2017-05-30 05:32:38 +00:00
|
|
|
CT_Fetch LTRACE
|
2007-07-13 12:22:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
do_debug_ltrace_extract() {
|
2017-05-30 05:32:38 +00:00
|
|
|
CT_ExtractPatch LTRACE
|
2007-07-13 12:22:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
do_debug_ltrace_build() {
|
2010-03-06 15:05:20 +00:00
|
|
|
local ltrace_host
|
|
|
|
|
2007-07-13 12:22:34 +00:00
|
|
|
CT_DoStep INFO "Installing ltrace"
|
|
|
|
|
2008-10-24 15:40:58 +00:00
|
|
|
CT_DoLog EXTRA "Copying sources to build dir"
|
2017-05-30 05:32:38 +00:00
|
|
|
CT_DoExecLog ALL cp -av "${CT_SRC_DIR}/ltrace/." \
|
2010-01-02 17:00:54 +00:00
|
|
|
"${CT_BUILD_DIR}/build-ltrace"
|
|
|
|
CT_Pushd "${CT_BUILD_DIR}/build-ltrace"
|
2008-10-24 15:40:58 +00:00
|
|
|
|
2007-07-13 12:22:34 +00:00
|
|
|
CT_DoLog EXTRA "Configuring ltrace"
|
2022-01-05 08:37:45 +00:00
|
|
|
CT_DoExecLog CFG \
|
|
|
|
${CONFIG_SHELL} \
|
|
|
|
./configure \
|
|
|
|
--build=${CT_BUILD} \
|
|
|
|
--host=${CT_TARGET} \
|
|
|
|
--prefix=/usr
|
2007-07-13 12:22:34 +00:00
|
|
|
|
|
|
|
CT_DoLog EXTRA "Building ltrace"
|
2016-11-21 07:50:17 +00:00
|
|
|
CT_DoExecLog ALL make
|
2007-07-13 12:22:34 +00:00
|
|
|
|
|
|
|
CT_DoLog EXTRA "Installing ltrace"
|
2016-11-21 07:50:17 +00:00
|
|
|
CT_DoExecLog ALL make DESTDIR="${CT_DEBUGROOT_DIR}" install
|
2007-07-13 12:22:34 +00:00
|
|
|
|
|
|
|
CT_Popd
|
|
|
|
CT_EndStep
|
|
|
|
}
|