A website documenting creating the build root for MidgardOS
| Navigation | ||
|---|---|---|
| « GNU Awk | HOME | GNU Gzip » |
Name: GNU Grep
Summary: CLI tool for searching through text files
License: GPL v3 or later
Version: 3.12
URL: https://ftp.gnu.org/gnu/grep/grep-3.12.tar.xz
To configure GNU Grep for install into the build root, run the following command:
./configure --prefix=/usr \
--libdir=/usr/lib64 \
--libexecdir=/usr/lib64 \
--host=$BRFS_TARGET \
--build=$BRFS_HOST
To compile GNU Grep, run the following command:
make
Finally, to install GNU Grep into the build tree, run the following command:
make DESTDIR=$BRFS install
More details about this package is covered later in the core system build.
| Navigation | ||
|---|---|---|
| « GNU Awk | HOME | GNU Gzip » |