summaryrefslogtreecommitdiff
path: root/package/nagios-plugins/Makefile
blob: eb95f694ae5f0574fdadb1e217d979c28019286e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(TOPDIR)/rules.mk

PKG_NAME:=		nagios-plugins
PKG_VERSION:=		1.4.15
PKG_RELEASE:=		1
PKG_MD5SUM:=		56abd6ade8aa860b38c4ca4a6ac5ab0d
PKG_DESCR:=		Nagios plugins
PKG_SECTION:=		net
PKG_SITES:=		${MASTER_SITE_SOURCEFORGE:=nagiosplug/}

PKG_HOST_DEPENDS:=	!darwin

include $(TOPDIR)/mk/package.mk

$(eval $(call PKG_template,NAGIOS_PLUGINS,nagios-plugins,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

CONFIGURE_ENV+=		ac_cv_lib_nsl_main=no

nagios-plugins-install:
	$(INSTALL_DIR) $(IDIR_NAGIOS_PLUGINS)/usr/libexec
	$(CP) $(WRKINST)/usr/libexec/* \
		$(IDIR_NAGIOS_PLUGINS)/usr/libexec

include ${TOPDIR}/mk/pkg-bottom.mk