mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-17 16:55:25 +01:00
Restructure
This commit is contained in:
parent
e5cbaa9e04
commit
5a369dc783
77 changed files with 419 additions and 295 deletions
38
sysa/bash-2.05b/bash-2.05b.kaem
Executable file
38
sysa/bash-2.05b/bash-2.05b.kaem
Executable file
|
|
@ -0,0 +1,38 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -ex
|
||||
|
||||
cd build
|
||||
|
||||
# Extract
|
||||
gunzip ../src/${pkg}.tar.gz
|
||||
tar xf ../src/${pkg}.tar
|
||||
cd ${pkg}
|
||||
cp ../../mk/main.mk Makefile
|
||||
cp ../../mk/builtins.mk builtins/Makefile
|
||||
cp ../../mk/common.mk common.mk
|
||||
|
||||
# Create various .h files
|
||||
catm config.h
|
||||
catm include/version.h
|
||||
catm include/pipesize.h
|
||||
|
||||
# Patch
|
||||
patch -Np0 -i ../../patches/mes-libc.patch
|
||||
patch -Np0 -i ../../patches/tinycc.patch
|
||||
patch -Np0 -i ../../patches/missing-defines.patch
|
||||
patch -Np0 -i ../../patches/locale.patch
|
||||
patch -Np0 -i ../../patches/dev-tty.patch
|
||||
|
||||
# Compile
|
||||
make mkbuiltins
|
||||
cd builtins
|
||||
make libbuiltins.a
|
||||
cd ..
|
||||
make
|
||||
|
||||
# Install
|
||||
cp bash /after/bin/
|
||||
chmod 755 /after/bin/bash
|
||||
|
||||
cd ../..
|
||||
Loading…
Add table
Add a link
Reference in a new issue