pkgsrc/sysutils/libcap/Makefile
mcf be2c605955 libcap: update to 2.44
Set prefix variable in MAKE_FLAGS so that the *.pc files use the
correct paths.

Use gsed tool since -i flag is used during build.

Disable Go library.

Skip portability check of contrib/pcaps4server; it is not installed
or used during build.

Upstream release notes:
https://sites.google.com/site/fullycapable/release-notes-for-libcap#h.bkhhw1fow1su
2020-10-16 22:33:49 +00:00

29 lines
798 B
Makefile

# $NetBSD: Makefile,v 1.5 2020/10/16 22:33:49 mcf Exp $
DISTNAME= libcap-2.44
CATEGORIES= sysutils
MASTER_SITES= https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://sites.google.com/site/fullycapable/
COMMENT= Library for getting and setting POSIX.1e capabilities
LICENSE= gnu-gpl-v2
USE_TOOLS+= pkg-config gmake gsed perl
ONLY_FOR_PLATFORM= Linux-*-*
PKGCONFIG_OVERRIDE+= libcap/libcap.pc.in
PKGCONFIG_OVERRIDE+= libcap/libpsx.pc.in
MAKE_FLAGS+= prefix=${PREFIX}
MAKE_FLAGS+= LIBDIR=${PREFIX}/lib
MAKE_FLAGS+= MANDIR=${PREFIX}/${PKGMANDIR}
MAKE_FLAGS+= GOLANG=no
INSTALL_MAKE_FLAGS+= RAISE_SETFCAP=no
INSTALL_MAKE_FLAGS+= DESTDIR=${DESTDIR}
CHECK_PORTABILITY_SKIP+= contrib/pcaps4server
.include "../../mk/bsd.pkg.mk"