e17279a2f2
The Open IPMI project aims to develop an open code base to allow access to platform information using Intelligent Platform Management Interface (IPMI).
50 lines
1.4 KiB
Makefile
50 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.1 2020/11/03 20:55:34 otis Exp $
|
|
|
|
PKGVERSION= 2.0.29
|
|
PKGNAME= openipmi-${PKGVERSION}
|
|
DISTNAME= OpenIPMI-${PKGVERSION_NOREV}
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= https://newcontinuum.dl.sourceforge.net/project/openipmi/OpenIPMI%202.0%20Library/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://openipmi.sourceforge.net/
|
|
COMMENT= User-level library that provides a higher-level abstraction of IPMI
|
|
LICENSE= gnu-lgpl-v2
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= gmake perl pkg-config
|
|
|
|
PKGCONFIG_OVERRIDE+= OpenIPMI.pc.in
|
|
PKGCONFIG_OVERRIDE+= OpenIPMIcmdlang.pc.in
|
|
PKGCONFIG_OVERRIDE+= OpenIPMIglib.pc.in
|
|
PKGCONFIG_OVERRIDE+= OpenIPMIglib12.pc.in
|
|
PKGCONFIG_OVERRIDE+= OpenIPMIposix.pc.in
|
|
PKGCONFIG_OVERRIDE+= OpenIPMIpthread.pc.in
|
|
PKGCONFIG_OVERRIDE+= OpenIPMItcl.pc.in
|
|
PKGCONFIG_OVERRIDE+= OpenIPMIui.pc.in
|
|
PKGCONFIG_OVERRIDE+= OpenIPMIutils.pc.in
|
|
|
|
EGDIR= ${PREFIX}/share/examples/openipmi
|
|
EGFILES= lan.conf ipmisim1.emu
|
|
|
|
INSTALLATION_DIRS= share/examples/openipmi
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD"
|
|
LDFLAGS+= -lexecinfo
|
|
BUILDLINK_TRANSFORM+= rm:-ldl
|
|
.endif
|
|
|
|
post-install:
|
|
.for file in ${EGFILES}
|
|
${MV} ${DESTDIR}${PREFIX}/etc/ipmi/${file} ${DESTDIR}${EGDIR}/${file}
|
|
.endfor
|
|
|
|
.include "options.mk"
|
|
|
|
.include "../../devel/popt/buildlink3.mk"
|
|
.include "../../mk/curses.buildlink3.mk"
|
|
.include "../../mk/readline.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|