MidgardOS Developer Documentation

A website documenting creating the build root for MidgardOS


Section 3 - Temporary Tools

Navigation    
« GNU Make HOME GNU Sed »

GNU Patch

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

Configuration

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

./configure --prefix=/usr           \
            --libdir=/usr/lib64     \
            --libexecdir=/usr/lib64 \
            --host=$BRFS_TARET      \
            --build=$BRFS_HOST

Compilation and Installation

To compile GNU Patch, run the following command:

make

Finally, to install GNU Patch 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 Make HOME GNU Sed »