Compare commits
3 commits
da11f130d0
...
80822b9adb
Author | SHA1 | Date | |
---|---|---|---|
80822b9adb | |||
edc984c028 | |||
|
d82e652e98 |
10 changed files with 90 additions and 0 deletions
26
binutils/build
Normal file
26
binutils/build
Normal file
|
@ -0,0 +1,26 @@
|
|||
wget -O binutils.tar.xz https://ftp.gnu.org/gnu/binutils/binutils-2.36.1.tar.xz
|
||||
tar -xf binutils.tar.xz
|
||||
cd binutils
|
||||
chmod +x makeinfo
|
||||
export PATH=$PATH:$PWD
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--with-lib-path=/usr/lib:/usr/local/lib \
|
||||
--enable-targets=x86_64-pep \
|
||||
--enable-deterministic-archives \
|
||||
--disable-gold \
|
||||
--enable-lto \
|
||||
--enable-ld=default \
|
||||
--enable-plugins \
|
||||
--disable-multilib \
|
||||
--disable-werror \
|
||||
--disable-gdb \
|
||||
--disable-nls \
|
||||
--disable-readline \
|
||||
--disable-gprof \
|
||||
--with-mmap \
|
||||
--with-system-zlib
|
||||
make configure-host
|
||||
make tooldir=/usr
|
||||
make DESTDIR="$1" tooldir=/usr install
|
||||
ln -sf ld.bfd "$1/usr/bin/ld"
|
5
binutils/package
Normal file
5
binutils/package
Normal file
|
@ -0,0 +1,5 @@
|
|||
pkg_config_deploy=true
|
||||
pkg_config_ver="2.36.1"
|
||||
pkg_config_name="binutils"
|
||||
pkg_config_makedepends=""
|
||||
pkg_config_depends=""
|
15
bzip2/build
Normal file
15
bzip2/build
Normal file
|
@ -0,0 +1,15 @@
|
|||
wget -O bzip2.tar.gz https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz
|
||||
tar -xf 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
|
||||
mkdir -p "$1/usr/bin" "$1/usr/lib" "$1/usr/share/man/man1" "$1/usr/include"
|
||||
cp -f bzip2 bzdiff bzgrep bzmore "$1/usr/bin"
|
||||
cp -f libbz2.so.1.0.8 libbz2.a "$1/usr/lib"
|
||||
cp -f bzip2.1 "$1/usr/share/man/man1"
|
||||
cp -f bzlib.h "$1/usr/include"
|
||||
ln -sf libbz2.so.1.0.8 "$1/usr/lib/libbz2.so"
|
||||
ln -sf libbz2.so.1.0.8 "$1/usr/lib/libbz2.so.1"
|
||||
ln -sf libbz2.so.1.0.8 "$1/usr/lib/libbz2.so.1.0"
|
||||
ln -sf bzip2 "$1/usr/bin/bunzip2"
|
||||
ln -sf bzip2 "$1/usr/bin/bzcat"
|
5
bzip2/package
Normal file
5
bzip2/package
Normal file
|
@ -0,0 +1,5 @@
|
|||
pkg_config_deploy=true
|
||||
pkg_config_ver="1.0.8"
|
||||
pkg_config_name="bzip2"
|
||||
pkg_config_makedepends=""
|
||||
pkg_config_depends=""
|
11
gzip/build
Normal file
11
gzip/build
Normal file
|
@ -0,0 +1,11 @@
|
|||
wget -O gzip.tar.gz https://zlib.net/pigz/pigz-2.6.tar.gz
|
||||
tar -xf gzip.tar.gz
|
||||
cd gzip
|
||||
make CC="${CC:-cc} -static"
|
||||
mkdir -p "$1/usr/bin" "$1/usr/share/man/man1"
|
||||
cp -f pigz unpigz "$1/usr/bin"
|
||||
cp -f pigz.1 "$1/usr/share/man/man1"
|
||||
ln -sf pigz "$1/usr/bin/gzip"
|
||||
ln -sf pigz "$1/usr/bin/zcat"
|
||||
ln -sf unpigz "$1/usr/bin/gunzip"
|
||||
ln -sf pigz.1 "$1/usr/share/man/man1/gzip.1"
|
5
gzip/package
Normal file
5
gzip/package
Normal file
|
@ -0,0 +1,5 @@
|
|||
pkg_config_deploy=true
|
||||
pkg_config_ver="2.6"
|
||||
pkg_config_name="gzip"
|
||||
pkg_config_makedepends=""
|
||||
pkg_config_depends=""
|
6
xz/build
Normal file
6
xz/build
Normal file
|
@ -0,0 +1,6 @@
|
|||
wget -O xz.tar.gz https://tukaani.org/xz/xz-5.2.5.tar.gz
|
||||
tar -xf xz.tar.gz
|
||||
cd xz
|
||||
./configure --prefix=/usr --disable-nls
|
||||
make
|
||||
make install DESTDIR="$1"
|
5
xz/package
Normal file
5
xz/package
Normal file
|
@ -0,0 +1,5 @@
|
|||
pkg_config_deploy=true
|
||||
pkg_config_ver="5.2.5"
|
||||
pkg_config_name="xz"
|
||||
pkg_config_makedepends=""
|
||||
pkg_config_depends=""
|
7
zlib/build
Normal file
7
zlib/build
Normal file
|
@ -0,0 +1,7 @@
|
|||
wget -O zlib.tar.gz https://zlib.net/zlib-1.2.11.tar.gz
|
||||
tar -xf zlib.tar.gz
|
||||
cd zlib
|
||||
export CFLAGS="$CFLAGS -fPIC"
|
||||
./configure --prefix="$1" --lib-dir="/usr/lib" --shared
|
||||
make
|
||||
make install DESTDIR="$1"
|
5
zlib/package
Normal file
5
zlib/package
Normal file
|
@ -0,0 +1,5 @@
|
|||
pkg_config_deploy=true
|
||||
pkg_config_ver="1.2.11"
|
||||
pkg_config_name="zlib"
|
||||
pkg_config_makedepends=""
|
||||
pkg_config_depends=""
|
Loading…
Reference in a new issue