3.16. dejagnu-1.6.3

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

Configuration

src_config()
{
    mkdir build
    cd build
    ../configure \
        --prefix=${PREFIX}
    makeinfo --html --no-split -o doc/dejagnu.html ../doc/dejagnu.texi
    makeinfo --plaintext       -o doc/dejagnu.txt  ../doc/dejagnu.texi
}

Compilation

src_compile()
{
    return
}

Installation

src_install()
{
    make install ${MAKEOPTS} DESTDIR=${D}
    install -dm755 ${D}${PREFIX}/share/doc/${P}
    install -m644 doc/dejagnu.html doc/dejagnu.txt ${D}${PREFIX}/share/doc/${P}
}

Unit testing

src_check()
{
    make check
}

Build code

dejagnu.build

Other files

meta.txt

Links

url.lfs: https://linuxfromscratch.org/lfs/view/11.2/chapter08/dejagnu.html
url.lfs.stage1: