MidgardOS Developer Documentation

A website documenting creating the build root for MidgardOS


Section 5 - Building the Base System Tools

Navigation    
« GNU Make HOME GNU Tar »

GNU Patch

Name: GNU Patch
Summary: A tool for applying differential patches to text files
License: GPL v3.0 or later
Version: 2.8
URL: https://ftp.gnu.org/gnu/patch/patch-2.8.tar.xz

Average Build Time: 0.2 SBU
Used Install Space: 700 KiB

Configuration

To configure GNU Patch for install into the build root, run the following command:

./configure --prefix=/usr                       \
            --libdir=/usr/lib64                 \
            --libexecdir=/usr/lib64             \
            --docdir=/usr/share/doc/patch-2.8   \
            --sysconfdir=/etc

Compilation and Installation

To compile GNU Patch, run the following command:

make

Next, run the test suite:

make check

Finally, to install GNU Patch into the build tree, run the following command:

make install

Contents

Contents  
Installed Programs patch
Navigation    
« GNU Make HOME GNU Tar »