mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-18 17:25:24 +01:00
Add bash based build harness.
This commit is contained in:
parent
6d51641b06
commit
707328a15c
8 changed files with 142 additions and 34 deletions
|
|
@ -1,26 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -ex
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
|
||||
# Extract
|
||||
gunzip ../src/${pkg}.tar.gz
|
||||
tar xf ../src/${pkg}.tar
|
||||
cd ${pkg}
|
||||
cp ../../mk/main.mk Makefile
|
||||
|
||||
# Patch and prepare
|
||||
patch -Np0 -i ../../patches/signal-include.patch
|
||||
|
||||
# Build
|
||||
make
|
||||
|
||||
# Install
|
||||
install m4 /after/bin/
|
||||
|
||||
# Test
|
||||
m4 --version
|
||||
|
||||
cd ../..
|
||||
|
|
@ -26,3 +26,6 @@ m4: libm4.a $(M4_OBJ)
|
|||
|
||||
libm4.a: $(LIB_OBJECTS)
|
||||
$(AR) cr $@ $^
|
||||
|
||||
install: all
|
||||
install m4 $(PREFIX)/bin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue