mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-04 02:15:24 +01:00
24 lines
428 B
Bash
Executable file
24 lines
428 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -ex
|
|
|
|
cd build
|
|
|
|
# Extract
|
|
bunzip2 ../src/${pkg}.tar.bz2
|
|
tar xf ../src/${pkg}.tar
|
|
cd ${pkg}
|
|
cp ../../mk/main.mk Makefile
|
|
|
|
# Patch and prepare
|
|
cp lib/fnmatch_.h lib/fnmatch.h
|
|
cp lib/ftw_.h lib/ftw.h
|
|
cp lib/search_.h lib/search.h
|
|
catm config.h
|
|
|
|
patch -Np0 -i ../../patches/modechange.patch
|
|
patch -Np0 -i ../../patches/mbstate.patch
|
|
|
|
# Build and install
|
|
/after/bin/make -f Makefile
|
|
/after/bin/make -f Makefile install
|