should be fixed...

This commit is contained in:
Ohio2 2021-07-07 16:27:54 +02:00
parent 21325204e6
commit d7d75205d5
12 changed files with 44 additions and 36 deletions

View file

@ -1,6 +1,6 @@
wget -O ${temp_location}/binutils/binutils.tar.xz https://ftp.gnu.org/gnu/binutils/binutils-2.36.1.tar.xz
tar -xf ${temp_location}/binutils/binutils.tar.xz
cd ${temp_location}/biinutils/binutils
wget -O binutils-2.36.1.tar.xz https://ftp.gnu.org/gnu/binutils/binutils-2.36.1.tar.xz
tar -xf binutils-2.36.1.tar.xz
cd binutils-2.36.1
chmod +x makeinfo
export PATH=$PATH:$PWD
./configure \

View file

@ -1,6 +1,6 @@
wget -O ${temp_location}/busybox/busybox.tar.bz2 https://busybox.net/downloads/busybox-1.33.1.tar.bz2
tar -xf ${temp_location}/busybox/busybox.tar.bz2
cd ${temp_location}/busybox
wget -O busybox-1.33.1.tar.bz2 https://busybox.net/downloads/busybox-1.33.1.tar.bz2
tar -xf busybox-1.33.1.tar.bz2
cd busybox
make defconfig
LDFLAGS="--static" make
make install DESTDIR="$1"

View file

@ -1,6 +1,6 @@
wget -O ${temp_location}/bzip2/bzip2.tar.gz https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz
tar -xf ${temp_location}/bzip2/bzip2.tar.gz
cd ${temp_location}/bzip2/bzip2
wget -O bzip2-1.0.8.tar.gz https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz
tar -xf bzip2-1.0.8.tar.gz
cd bzip2-1.0.8
make CC="${CC:-cc} $CFLAGS -fPIC $LDFLAGS" -f Makefile-libbz2_so
make CC="${CC:-cc} $CFLAGS -static -fPIC $LDFLAGS" bzip2
mkdir -p "$1/usr/bin" "$1/usr/lib" "$1/usr/share/man/man1" "$1/usr/include"

View file

@ -1,6 +1,12 @@
wget -O ${temp_location}/gcc/gcc.tar.gz
tar -xf ${temp_location}/gcc/gcc.tar.gz
cd ${temp_location}/gcc/gcc
wget -O gcc-11.1.0.tar.gz https://gcc.gnu.org/pub/gcc/releases/gcc-11.1.0/gcc-11.1.0.tar.xz
tar -xf gcc-11.1.0.tar.gz
cd gcc-11.1.0
wget https://ftp.gnu.org/gnu/gmp/gmp-6.2.1.tar.xz
wget https://ftp.gnu.org/gnu/mpfr/mpfr-4.1.0.tar.xz
wget https://ftp.gnu.org/gnu/mpc/mpc-1.2.1.tar.gz
tar -xf gmp-6.2.1.tar.xz
tar -xf mpfr-4.1.0.tar.xz
tar -xf mpc-1.2.1.tar.gz
sed -i '/m64=/s/lib64/lib/' gcc/gcc/config/i386/t-linux64
sed -i 's/lib64/lib/' gcc/gcc/config/i386/linux64.h
mkdir build
@ -9,5 +15,7 @@ cd build
make
make install DESTDIR="$1"
ln -s gcc "$1/usr/bin/cc"
install -Dm755 ../c99 "$1/usr/bin/c99"
echo "#!/bin/sh" > "$1"/usr/bin/c99
echo "exec cc -std=c99 "$@"" >> "$1"/usr/bin/c99
chmod +x "$1"/usr/bin/c99

View file

@ -1,6 +1,6 @@
wget -O ${temp_location}/git/git.tar.xz https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.9.5.tar.xz
tar -xf ${temp_location}/git/git.tar.xz
cd ${temp_location}/git/git
wget https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.9.5.tar.xz
tar -xf git-2.9.5.tar.xz
cd git-2.9.5
./configure --prefix=/usr
make
make install DESTDIR="$1"

View file

@ -1,6 +1,6 @@
wget -O ${temp_location}/glibc/glibc.tar.gz https://ftp.gnu.org/gnu/libc/glibc-2.33.tar.gz
tar -xf ${temp_location}/glibc/glibc.tar.gz
cd ${temp_location}/glibc/glibc
wget https://ftp.gnu.org/gnu/libc/glibc-2.33.tar.gz
tar -xf glibc-2.33.tar.gz
cd glibc-2.33
mkdir build
cd build
../configure --prefix=/usr

View file

@ -1,6 +1,6 @@
wget -O ${temp_location}/gzip/gzip.tar.gz https://zlib.net/pigz/pigz-2.6.tar.gz
tar -xf ${temp_location}/gzip/gzip.tar.gz
cd ${temp_location}/gzip/gzip
wget https://zlib.net/pigz/pigz-2.6.tar.gz
tar -xf pigz-2.6.tar.gz
cd pigz-2.6
make CC="${CC:-cc} -static"
mkdir -p "$1/usr/bin" "$1/usr/share/man/man1"
cp -f pigz unpigz "$1/usr/bin"

View file

@ -1,4 +1,4 @@
git clone https://github.com/Sweets/hummingbird ${temp_location}/hummingbird-build
cd ${temp_location}/hummingbird-build
git clone https://github.com/Sweets/hummingbird hummingbird-build
cd hummingbird-build
make
make install DESTDIR=$1

View file

@ -1,6 +1,6 @@
wget -O ${temp_location}/make/make.tar.gz https://ftp.gnu.org/gnu/make/make-4.3.tar.gz
untar -xf ${temp_location}/make/make.tar.gz
cd ${temp_location}/make/make
wget https://ftp.gnu.org/gnu/make/make-4.3.tar.gz
untar -xf make-4.3.tar.gz
cd make-4.3
export CFLAGS="$CFLAGS -static"
./configure --prefix=/usr
make

View file

@ -1,6 +1,6 @@
wget -O ${temp_location}/openssl/openssl.tar.gz https://www.openssl.org/source/openssl-3.0.0-beta1.tar.gz
tar -xf ${temp_location}/openssl/openssl.tar.gz
cd ${temp_location}/openssl/openssl
wget https://www.openssl.org/source/openssl-3.0.0-beta1.tar.gz
tar -xf openssl-3.0.0-beta1.tar.gz
cd openssl-3.0.0-beta1
chmod +x ./config
./config --prefix="/usr"
make

View file

@ -1,6 +1,6 @@
wget -O ${temp_location}/xz/xz.tar.gz https://tukaani.org/xz/xz-5.2.5.tar.gz
tar -xf ${temp_location}/xz/xz.tar.gz
cd ${temp_location}/xz/xz
wget https://tukaani.org/xz/xz-5.2.5.tar.gz
tar -xf xz-5.2.5.tar.gz
cd xz-5.2.5
./configure --prefix=/usr --disable-nls
make
make install DESTDIR="$1"

View file

@ -1,6 +1,6 @@
wget -O ${temp_location}/zlib/zlib.tar.gz https://zlib.net/zlib-1.2.11.tar.gz
tar -xf ${temp_location}/zlib/zlib.tar.gz
cd ${temp_location}/zlib/zlib
wget https://zlib.net/zlib-1.2.11.tar.gz
tar -xf zlib-1.2.11.tar.gz
cd zlib-1.2.11
export CFLAGS="$CFLAGS -fPIC"
./configure --prefix="$1" --lib-dir="/usr/lib" --shared
make