2 # Copyright (C) 2007 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=@SF
/nagios
17 PKG_MD5SUM
:=b6e3a21c91edb063c00712c6001e15ec
20 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
22 include $(INCLUDE_DIR
)/package.mk
27 DEPENDS
:=+libpthread
+microperl
28 TITLE
:=service and network monitoring program
30 service and network monitoring program
31 URL
:=http
://www.nagios.org
/
34 define Package
/send-nagios
/conffiles
38 define Build
/Configure
39 $(call Build
/Configure
/Default
,\
40 --with-nagios-user
="root" \
41 --with-nagios-group
="root", \
47 $(call Build
/Compile
/Default
,\
48 DESTDIR
="$(PKG_INSTALL_DIR)" \
50 all install install-config \
54 define Package
/nagios
/install
55 $(CP
) $(PKG_INSTALL_DIR
) $(1)/
58 $(eval
$(call BuildPackage
,nagios
))