1.1 --- a/config/companion_tools.in Tue Jan 12 21:47:36 2010 +0000
1.2 +++ b/config/companion_tools.in Tue Jan 12 21:47:57 2010 +0000
1.3 @@ -13,6 +13,7 @@
1.4 m4 >= 1.4.12
1.5 autoconf >= 2.63
1.6 automake >= 1.10.2
1.7 + libtool >= 2.2.4
1.8
1.9 If your system has older versions, we can build them for you,
1.10 but you are strongly encouraged to update your system instead!
1.11 @@ -31,6 +32,10 @@
1.12 bool
1.13 prompt "automake"
1.14
1.15 +config COMP_TOOLS_libtool
1.16 + bool
1.17 + prompt "libtool"
1.18 +
1.19 endif
1.20
1.21 endmenu
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2.2 +++ b/scripts/build/companion_tools/400-libtool.sh Tue Jan 12 21:47:57 2010 +0000
2.3 @@ -0,0 +1,27 @@
2.4 +# Build script for libtool
2.5 +
2.6 +CT_LIBTOOL_VERSION=2.2.6b
2.7 +
2.8 +do_companion_tools_libtool_get() {
2.9 + CT_GetFile "libtool-${CT_LIBTOOL_VERSION}" \
2.10 + {ftp,http}://ftp.gnu.org/gnu/libtool
2.11 +}
2.12 +
2.13 +do_companion_tools_libtool_extract() {
2.14 + CT_Extract "libtool-${CT_LIBTOOL_VERSION}"
2.15 + CT_Patch "libtool-${CT_LIBTOOL_VERSION}"
2.16 +}
2.17 +
2.18 +do_companion_tools_libtool_build() {
2.19 + CT_DoStep EXTRA "Installing libtool"
2.20 + mkdir -p "${CT_BUILD_DIR}/build-libtool"
2.21 + CT_Pushd "${CT_BUILD_DIR}/build-libtool"
2.22 +
2.23 + CT_DoExecLog ALL \
2.24 + "${CT_SRC_DIR}/libtool-${CT_LIBTOOL_VERSION}/configure" \
2.25 + --prefix="${CT_TOOLS_OVERIDE_DIR}"
2.26 + CT_DoExecLog ALL make
2.27 + CT_DoExecLog ALL make install
2.28 + CT_Popd
2.29 + CT_EndStep
2.30 +}