TAR patch

This commit is contained in:
Ohio2 2021-07-04 21:40:26 +02:00
parent 36cef13301
commit db64fdc9a9
10 changed files with 13 additions and 10 deletions

View file

@ -1,5 +1,5 @@
wget -O binutils.tar.xz https://ftp.gnu.org/gnu/binutils/binutils-2.36.1.tar.xz
tar -xf binutils.tar.xz
tar -xfJ binutils.tar.xz
cd binutils
chmod +x makeinfo
export PATH=$PATH:$PWD

View file

@ -1,5 +1,5 @@
wget -O bzip2.tar.gz https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz
tar -xf bzip2.tar.gz
tar -xfz bzip2.tar.gz
cd bzip2
make CC="${CC:-cc} $CFLAGS -fPIC $LDFLAGS" -f Makefile-libbz2_so
make CC="${CC:-cc} $CFLAGS -static -fPIC $LDFLAGS" bzip2

View file

@ -1,5 +1,5 @@
wget -O gcc.tar.gz
tar -xf gcc.tar.gz
tar -xfz gcc.tar.gz
cd gcc
sed -i '/m64=/s/lib64/lib/' gcc/gcc/config/i386/t-linux64
sed -i 's/lib64/lib/' gcc/gcc/config/i386/linux64.h

View file

@ -1,5 +1,5 @@
wget -O git.tar.xz https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.9.5.tar.xz
tar -xf git.tar.xz
tar -xfJ git.tar.xz
cd git
./configure --prefix=/usr
make

View file

@ -1,8 +1,8 @@
wget -O glibc.tar.gz https://ftp.gnu.org/gnu/libc/glibc-2.33.tar.gz
tar -xf glibc.tar.gz
tar -xfz glibc.tar.gz
cd glibc
mkdir build
cd build
../configure --prefix=/usr
make
make install DESTDIR="$1"
make install DESTDIR="$1"

View file

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

View file

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

View file

@ -1,5 +1,5 @@
wget -O openssl.tar.gz https://www.openssl.org/source/openssl-3.0.0-beta1.tar.gz
tar -xf openssl.tar.gz
tar -xfz openssl.tar.gz
cd openssl
chmod +x ./config
./config --prefix="/usr"

View file

@ -1,5 +1,5 @@
wget -O xz.tar.gz https://tukaani.org/xz/xz-5.2.5.tar.gz
tar -xf xz.tar.gz
tar -xfJ xz.tar.gz
cd xz
./configure --prefix=/usr --disable-nls
make

View file

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