3.23. libcap-2.63

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

Configuration

src_config()
{
    sed -i '/install -m.*STA/d' libcap/Makefile
}

Compilation

src_compile()
{
    make ${MAKEOPTS} lib=lib prefix=${PREFIX}
}

Installation

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

Unit testing

src_check()
{
    make test
}

Build code

libcap.build

Other files

meta.txt
text

Links

url.lfs: https://linuxfromscratch.org/lfs/view/11.1/chapter08/libcap.html