mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-16 16:25:23 +01:00
Build grep-2.4.
This commit is contained in:
parent
996e6f7c10
commit
089b6d6020
5 changed files with 55 additions and 2 deletions
23
sysa/grep-2.4/grep-2.4.kaem
Normal file
23
sysa/grep-2.4/grep-2.4.kaem
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -ex
|
||||
|
||||
cd build
|
||||
|
||||
# Extract
|
||||
gunzip ../src/${pkg}.tar.gz
|
||||
tar xf ../src/${pkg}.tar
|
||||
cd ${pkg}
|
||||
cp ../../mk/main.mk Makefile
|
||||
|
||||
# Build
|
||||
make
|
||||
|
||||
# Install
|
||||
cp grep /after/bin/grep
|
||||
chmod 755 /after/bin/grep
|
||||
|
||||
# Test
|
||||
grep --version
|
||||
|
||||
cd ../..
|
||||
Loading…
Add table
Add a link
Reference in a new issue