1.28. tmp fakeroot-1.29

This package is not part of original LFS (on both pass1 and main stages).

The fakeroot utility allows to handle root-owned files and operations, staying normal non-privileged user. The utility is used inside any build system.

#!/bin/sh
# Copyright © 2022 Random Crew
# Distributed under the terms of MIT License.

Configuration

src_config()
{
    LIBS="-lacl" \
    ./configure \
        --prefix=${PREFIX} \
        --docdir=${PREFIX}/share/doc/${P} \
        --host=${LFS_TGT}
}

Compilation

src_compile()
{
    make ${MAKEOPTS}
}

Installation

src_install()
{
    make install ${MAKEOPTS} DESTDIR=${D}
}