PR For adding tar, lzma not needed since xz can emulate lzma. #13

Merged
hippoz merged 4 commits from Ohio2/repo:master into master 2021-07-08 21:15:09 +03:00
11 changed files with 24 additions and 8 deletions

View file

@ -4,3 +4,8 @@ cd busybox-1.33.1
make defconfig
LDFLAGS="--static" make
make install DESTDIR="$1"
cd "_install"
install linuxrc "$1"/linuxrc
rsync -a ./bin/ "$1"/bin/
rsync -a ./sbin/ "$1"/sbin/
rsync -a ./usr "$1"/usr/

View file

@ -1 +1 @@
/bin/busybox --install
#/bin/busybox --install

View file

@ -3,6 +3,6 @@ tar -xf clang+llvm-12.0.0-x86_64-linux-gnu-ubuntu-20.04.tar.xz
cd clang+llvm-12.0.0-x86_64-linux-gnu-ubuntu-20.04
cd OBJ_ROOT
cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="$1"/usr/bin
make -j`nproc`
make
make install DESTDIR="$1"

View file

@ -1,5 +1,5 @@
pkg_config_deploy=true
pkg_config_ver="12.0.0"
pkg_config_name="clang"
pkg_config_makedepends="cmake ninja"
pkg_config_makedepends="cmake"
pkg_config_depends=""

View file

@ -2,5 +2,5 @@ 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
make install DESTDIR="$1"

View file

@ -4,5 +4,5 @@ cd glibc-2.33
mkdir build
cd build
../configure --prefix=/usr
make
make
make install DESTDIR="$1"

View file

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

View file

@ -1,5 +1,5 @@
pkg_config_deploy="true"
pkg_config_ver="0.1"
pkg_config_ver="4.3"
pkg_config_name="make"
pkg_config_makedepends=""
pkg_config_depends=""

6
tar/build Executable file
View file

@ -0,0 +1,6 @@
wget https://ftp.gnu.org/gnu/tar/tar-1.34.tar.xz
tar -xf tar-1.34
cd tar-1.34
./configure DEFAULT_RMT_DIR=/etc
make
make install DESTDIR="$1"

5
tar/package Executable file
View file

@ -0,0 +1,5 @@
pkg_config_deploy=true
pkg_config_ver="1.31"
pkg_config_name="tar"
pkg_config_makedepends=""
pkg_config_depends=""

View file

@ -2,6 +2,6 @@ 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
./configure --prefix="$1" --shared
make
make install DESTDIR="$1"