Restructure

This commit is contained in:
fosslinux 2021-01-20 12:43:40 +11:00
parent e5cbaa9e04
commit 5a369dc783
77 changed files with 419 additions and 295 deletions

View file

@ -0,0 +1,26 @@
#!/bin/sh
set -ex
cd build
# Extract
gunzip ../src/${pkg}.tar.gz
tar xf ../src/${pkg}.tar
cd ${pkg}
# Patch
patch -Np0 -i ../../patches/mes-libc.patch
patch -Np0 -i ../../patches/coreutils.patch
# Build
make CC=tcc AR="tcc -ar" bzip2
# Install
cp bzip2 /after/bin/bzip2
chmod 755 /after/bin/bzip2
# Test
bzip2 --help
cd ../..