mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-16 00:05:24 +01:00
Remove some autotools stages.
This commit is contained in:
parent
3b90aae529
commit
2c559bb49d
14 changed files with 6 additions and 296 deletions
|
|
@ -1,36 +0,0 @@
|
|||
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_prepare() {
|
||||
rm doc/standards.info doc/autoconf.info
|
||||
rm -- Makefile.in */Makefile.in
|
||||
rm configure
|
||||
|
||||
# Do not use pregenerated manpages
|
||||
sed -i '/SUBDIRS/s/ man//' Makefile.am
|
||||
|
||||
autoconf-2.52
|
||||
automake-1.4
|
||||
|
||||
# Install autoconf data files into versioned directory
|
||||
for file in */Makefile.in Makefile.in; do
|
||||
sed -i '/^pkgdatadir/s:$:-@VERSION@:' "$file"
|
||||
done
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure --prefix="${PREFIX}" --program-suffix=-2.52
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
make MAKEINFO=true DESTDIR="${DESTDIR}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Remove manually installed autoconf
|
||||
rm "${PREFIX}/bin/autoconf-2.52"
|
||||
rm -rf "${PREFIX}/share/autoconf-2.52"
|
||||
|
||||
make install MAKEINFO=true DESTDIR="${DESTDIR}"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue