Build grep-2.4.

This commit is contained in:
Andrius Štikonas 2021-01-20 19:05:10 +00:00
parent 996e6f7c10
commit 089b6d6020
5 changed files with 55 additions and 2 deletions

View 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 ../..