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