source: scripts/untested/autotools/blfs-automake.sh@ f118837

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