fix xorg-server compile
[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 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=osiris
12 PKG_VERSION:=4.2.3
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=http://osiris.shmoo.com/data/
17 PKG_MD5SUM:=1951c7dc0fe729af9ffaf58910340d12
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/osirisd
22 SECTION:=admin
23 CATEGORY:=Administration
24 DEPENDS:=+libopenssl +libpthread
25 TITLE:=Host integrity monitoring system (scanning agent)
26 URL:=http://www.hostintegrity.com/osiris
27 endef
28
29 CONFIGURE_ARGS += \
30 --with-osiris-user=root \
31 --with-root-dir=/var/lib/osiris \
32 --with-readline=no, \
33 ac_cv_openssldir="$(STAGING_DIR)/usr"
34
35 MAKE_FLAGS += \
36 DESTDIR="$(PKG_INSTALL_DIR)" \
37 INTERACTIVE=0 \
38 all install
39
40 define Package/osirisd/install
41 $(INSTALL_DIR) $(1)/usr/sbin
42 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/osirisd $(1)/usr/sbin/
43 $(INSTALL_DIR) $(1)/etc/init.d
44 $(INSTALL_BIN) ./files/osirisd.init $(1)/etc/init.d/osirisd
45 endef
46
47 $(eval $(call BuildPackage,osirisd))