mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-14 15:25:23 +01:00
Build most utils from coreutils-5.0.
This commit is contained in:
parent
e0335ce910
commit
d26463ffa2
8 changed files with 194 additions and 3 deletions
24
sysa/coreutils-5.0/coreutils-5.0.kaem
Executable file
24
sysa/coreutils-5.0/coreutils-5.0.kaem
Executable file
|
|
@ -0,0 +1,24 @@
|
|||
#!/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
|
||||
Loading…
Add table
Add a link
Reference in a new issue