clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change
on this file since d1afb9e was
d1afb9e,
checked in by Jim Gifford <clfs@…>, 18 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:
705 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | |
---|
3 | DIR=`dirname ${0}` |
---|
4 | AUTOMAKE_VERS="1.4-p6 1.5 1.6.3 1.7.9 1.8.5 1.9.6" |
---|
5 | PATCHES=${DIR}/patches |
---|
6 | export PATCHES |
---|
7 | |
---|
8 | # Create dir for latest GNU config.sub and config.guess |
---|
9 | mkdir -p /usr/share/gnu-config-files |
---|
10 | cp ${DIR}/gnu-config-files/config.{sub,guess} /usr/share/gnu-config-files |
---|
11 | chmod 755 /usr/share/gnu-config-files/* |
---|
12 | |
---|
13 | for AUTOMAKE_VER in ${AUTOMAKE_VERS}; do |
---|
14 | echo ${AUTOMAKE_VER} |
---|
15 | export AUTOMAKE_VER |
---|
16 | $DIR/automake.sh |
---|
17 | done |
---|
18 | |
---|
19 | # copy wrapper script, probably should put it somewhere other than bin |
---|
20 | cp ${DIR}/wrappers/am-wrapper-1.sh /usr/bin/am-wrapper.sh |
---|
21 | chmod 755 /usr/bin/am-wrapper.sh |
---|
22 | |
---|
23 | for file in aclocal automake ; do |
---|
24 | rm -f /usr/bin/${file} |
---|
25 | ln -sfn am-wrapper.sh /usr/bin/${file} |
---|
26 | done |
---|
27 | |
---|
Note: See
TracBrowser
for help on using the repository browser.