3.4. dejagnu-1.6.2

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

Configuration

src_config()
{
    ./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
pass1.sh

Other files

meta.txt

Links

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