logo

live-bootstrap

Mirror of <https://github.com/fosslinux/live-bootstrap>
commit: 2927547595b1241d454d6d2474fdac4b1f51bbc3
parent 3518f7cec01af61b53343acff0b4fc7eb172bad6
Author: Andrius Štikonas <andrius@stikonas.eu>
Date:   Fri, 12 Mar 2021 00:28:29 +0000

Add libtool 1.4.

Diffstat:

MSHA256SUMS.sources1+
Mparts.rst10++++++++--
Mrootfs.sh3+++
Asysa/libtool-1.4/checksums/pass12++
Asysa/libtool-1.4/pass1.sh23+++++++++++++++++++++++
Msysa/run.sh2++
6 files changed, 39 insertions(+), 2 deletions(-)

diff --git a/SHA256SUMS.sources b/SHA256SUMS.sources @@ -16,6 +16,7 @@ e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995 flex-2.6.4.tar a32032bab36208509466654df12f507600dfe0313feebbcd218c32a70bf72a16 grep-2.4.tar.gz 4d2ce9f314f39c9575f913503b0178d6fb2c92920db8e7b7b176b7bab7980fe6 gzip-1.2.4.tar 9f233d8b78e4351fe9dd2d50d83958a0e5af36f54e9818521458a08e058691ba heirloom-devtools-070527.tar.bz2 +8e8ce6175d435e7df8c9bbb0e5fd5357691cdc28c1a2d00fdd9b47b7643bec3a libtool-1.4.tar.gz 093c993767f563a11e41c1cf887f4e9065247129679d4c1e213d0544d16d8303 m4-1.4.7.tar.gz 64b30b41fde2ebf669e6af489883fb1df6a06ac30555a96cfa3c39ecce7267dd make-3.80.tar.gz 1370c9a812b2cf2a7d92802510cca0058cc37e66a7bedd70051f0a34015022a3 musl-1.1.24.tar.gz diff --git a/parts.rst b/parts.rst @@ -377,8 +377,8 @@ Version 2.52 is the newest version that runs on ``miniperl``. automake 1.4-p6 =============== -GNU Automake is a tool for automatically generating Makefile.in files. Together with -Autoconf they from GNU Autotools build system. +GNU Automake is a tool for automatically generating Makefile.in files. It is another +major part of GNU Autotools build system. ``automake`` again needs both ``automake`` and ``autoconf``. In order to bootstrap it we patch ``configure.in`` file to produce ``automake`` and skip ``Makefile`` effectively @@ -403,6 +403,12 @@ autoconf 2.12 Yet another old autoconf version that we will need for GNU Binutils. +libtool 1.4 +=========== + +GNU Libtool is the final part of GNU Autotools. It is a script used to hide away differences +when compiling shared libraries on different platforms. + binutils 2.14 ============= diff --git a/rootfs.sh b/rootfs.sh @@ -216,6 +216,9 @@ get_file https://ftp.gnu.org/gnu/autoconf/autoconf-2.13.tar.gz # autoconf 2.12 get_file https://ftp.gnu.org/gnu/autoconf/autoconf-2.12.tar.gz +# libtool 1.4 +get_file https://ftp.gnu.org/gnu/libtool/libtool-1.4.tar.gz + # binutils 2.14 get_file https://ftp.gnu.org/gnu/binutils/binutils-2.14.tar.bz2 diff --git a/sysa/libtool-1.4/checksums/pass1 b/sysa/libtool-1.4/checksums/pass1 @@ -0,0 +1,2 @@ +99cff07a501eb0062fc49db1baec30c83afc0c92f2f8478fc0e6ca7439d2c9b6 /after/lib/musl/libltdl.a +c247c7c1516ed35414c8b038535969a67ce4bbfd2abdfed85a89941bca09d55d /after/lib/musl/libltdl.la diff --git a/sysa/libtool-1.4/pass1.sh b/sysa/libtool-1.4/pass1.sh @@ -0,0 +1,23 @@ +# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu> +# +# SPDX-License-Identifier: GPL-3.0-or-later + +src_prepare() { + default_src_prepare + + AUTOCONF=autoconf-2.13 AUTOHEADER=autoheader-2.13 ACLOCAL=aclocal-1.4 AUTOMAKE=automake-1.4 ./bootstrap +} + +src_configure() { + CC=tcc LD=true AR="tcc -ar" ./configure \ + --prefix="${PREFIX}" \ + --libdir="${PREFIX}/lib/musl" \ + --disable-shared \ + --host=i386-unknown-linux \ + --target=i386-unknown-linux \ + --build=i386-unknown-linux +} + +src_compile() { + AR="tcc -ar" AR_FLAGS="cr" make +} diff --git a/sysa/run.sh b/sysa/run.sh @@ -85,6 +85,8 @@ build autoconf-2.13 build autoconf-2.12 +build libtool-1.4 pass1.sh checksums/pass1 + build binutils-2.14 # Build musl with fewer patches