[package] update muninlite to 1.0.2, fix xined dependency (#5291)
[openwrt/svn-archive/archive.git] / admin / osiris / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=osiris
11 PKG_VERSION:=4.2.3
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://osiris.shmoo.com/data/
16 PKG_MD5SUM:=1951c7dc0fe729af9ffaf58910340d12
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/osirisd
21 SECTION:=admin
22 CATEGORY:=Administration
23 DEPENDS:=+libopenssl +libpthread
24 TITLE:=Host integrity monitoring system (scanning agent)
25 URL:=http://www.hostintegrity.com/osiris
26 endef
27
28 CONFIGURE_ARGS += \
29 --with-osiris-user=root \
30 --with-root-dir=/var/lib/osiris \
31 --with-readline=no, \
32 ac_cv_openssldir="$(STAGING_DIR)/usr"
33
34 MAKE_FLAGS += \
35 DESTDIR="$(PKG_INSTALL_DIR)" \
36 INTERACTIVE=0 \
37 all install
38
39 define Package/osirisd/install
40 $(INSTALL_DIR) $(1)/usr/sbin
41 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/osirisd $(1)/usr/sbin/
42 $(INSTALL_DIR) $(1)/etc/init.d
43 $(INSTALL_BIN) ./files/osirisd.init $(1)/etc/init.d/osirisd
44 endef
45
46 $(eval $(call BuildPackage,osirisd))