Also bootstrap aclocal-1.4.

This commit is contained in:
Andrius Štikonas 2021-03-14 16:38:46 +00:00
parent 76d4e4ce94
commit 69228987f5
2 changed files with 14 additions and 6 deletions

View File

@ -14,11 +14,17 @@ src_configure() {
} }
src_compile() { src_compile() {
: cp m4/amversion.in m4/amversion.m4
sed -i 's/@VERSION@/1.4-p6/' m4/amversion.m4
sed -i 's/@APIVERSION@/1.4/' m4/amversion.m4
} }
src_install() { src_install() {
install automake ${PREFIX}/bin/automake-1.4 install automake "${PREFIX}"/bin/automake-1.4
mkdir -p ${PREFIX}/share/automake-1.4 mkdir -p "${PREFIX}"/share/automake-1.4
cp -r *.am ${PREFIX}/share/automake-1.4/ cp -r *.am "${PREFIX}"/share/automake-1.4/
install aclocal "${PREFIX}"/bin/aclocal-1.4
mkdir -p "${PREFIX}"/share/aclocal-1.4
cp -r m4/*.m4 "${PREFIX}"/share/aclocal-1.4/
} }

View File

@ -5,6 +5,7 @@
src_prepare() { src_prepare() {
rm configure Makefile.in */Makefile.in rm configure Makefile.in */Makefile.in
autoconf-2.52 autoconf-2.52
aclocal-1.4
automake-1.4 automake-1.4
} }
@ -14,8 +15,9 @@ src_configure() {
src_install() { src_install() {
# cleanup old manual install # cleanup old manual install
rm ${PREFIX}/bin/automake-1.4 rm "${PREFIX}"/bin/automake-1.4
rm -rf ${PREFIX}/share/automake-1.4 rm -rf "${PREFIX}"/share/automake-1.4
rm -rf "${PREFIX}"/share/aclocal-1.4
default_src_install default_src_install
} }