forked from alnux/repo
Merge pull request 'TAR patch' (#5) from Ohio2/repo:master into master
Reviewed-on: alnux/repo#5
This commit is contained in:
commit
2acff6b936
10 changed files with 13 additions and 10 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
2
xz/build
2
xz/build
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue