2.61. iproute2-5.5.0

#!/bin/sh
# Copyright © 1999-2020 Gerard Beekmans
# Copyright © 2017-2020 Random Crew
# Distributed under the terms of MIT License.

Configuration

src_config()
{
    sed -i /ARPD/d Makefile
    rm -f man/man8/arpd.8

    sed -i 's/.m_ipt.o//' tc/Makefile
}

Compilation

src_compile()
{
    make ${MAKEOPTS}
}

Installation

src_install()
{
    make install ${MAKEOPTS} DESTDIR=${D} DOCDIR=${PREFIX}/share/doc/${P}
}

Build code

iproute2.build

Other files

meta.txt

Links

url.lfs: https://linuxfromscratch.org/lfs/view/9.1/chapter06/iproute2.html