source: scripts/untested/autotools/blfs-autotools.sh@ 7ed0e05

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 7ed0e05 was d1afb9e, checked in by Jim Gifford <clfs@…>, 19 years ago

r587@server (orig r585): ryan | 2005-08-05 21:51:35 -0700
Add a sane autotools build to the mix.
Blatantly stolen from gentoo...



  • Property mode set to 100644
File size: 1.1 KB
Line 
1#!/bin/bash
2
3DIR=`dirname ${0}`
4AUTOCONF_VERS="2.13 2.59"
5AUTOMAKE_VERS="1.4-p6 1.5 1.6.3 1.7.9 1.8.5 1.9.6"
6PATCHES=${DIR}/patches
7export PATCHES
8
9for AUTOCONF_VER in ${AUTOCONF_VERS}; do
10 echo ${AUTOCONF_VER}
11 export AUTOCONF_VER
12 $DIR/autoconf.sh
13done
14
15# copy wrapper script, probably should put it somewhere other than bin
16cp ${DIR}/wrappers/ac-wrapper-3.1.sh /usr/bin/ac-wrapper.sh
17
18for file in auto{conf,header,m4te,reconf,scan,update} ifnames; do
19 rm -f /usr/bin/${file}
20 ln -sfn ac-wrapper.sh /usr/bin/${file}
21done
22
23# Create dir for latest GNU config.sub and config.guess
24mkdir -p /usr/share/gnu-config-files
25cp ${DIR}/gnu-config-files/config.{sub,guess} /usr/share/gnu-config-files
26chmod 755 /usr/share/gnu-config-files/*
27
28for AUTOMAKE_VER in ${AUTOMAKE_VERS}; do
29 echo ${AUTOMAKE_VER}
30 export AUTOMAKE_VER
31 $DIR/automake.sh
32done
33
34# copy wrapper script, probably should put it somewhere other than bin
35cp ${DIR}/wrappers/am-wrapper-1.sh /usr/bin/am-wrapper.sh
36chmod 755 /usr/bin/am-wrapper.sh
37
38for file in aclocal automake ; do
39 rm -f /usr/bin/${file}
40 ln -sfn am-wrapper.sh /usr/bin/${file}
41done
42
43if [ "${MULTIARCH}" = "Y" ]; then
44
45$DIR/libtool.sh
Note: See TracBrowser for help on using the repository browser.