source: packages/admin/syslog-ng3/Makefile @ 19819

Last change on this file since 19819 was 19819, checked in by lars, 6 years ago

[packages] syslog-ng3: Pass missing configure args for which configure does
autodetection. Which caused build failures

  • Property copyright set to Copyright (C) 2006-2008 OpenWrt.org
  • Property licence set to GPLv2
  • Property svn:eol-style set to native
File size: 1.8 KB
Line 
1#
2# Copyright (C) 2006-2009 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=syslog-ng
11PKG_VERSION:=3.0.4
12PKG_RELEASE:=1
13PKG_MD5SUM:=86c39779261545d2289e9c309e262b8d
14
15PKG_SOURCE_URL:= \
16        http://www.balabit.com/downloads/files/syslog-ng/open-source-edition/3.0.4/source/
17PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz
18
19include $(INCLUDE_DIR)/package.mk
20
21define Package/syslog-ng3
22  SECTION:=admin
23  CATEGORY:=Administration
24  DEPENDS:=+libpcre +glib2 +libeventlog +libopenssl +libwrap
25  TITLE:=A powerful syslog daemon
26  URL:=http://www.balabit.com/network-security/syslog-ng/opensource-logging-system/
27endef
28
29define Package/syslog-ng3/description
30  syslog-ng reads and logs messages to the system console, log
31  files, other machines and/or users as specified by its
32  configuration file.
33endef
34
35define Package/syslog-ng3/conffiles
36/etc/syslog-ng.conf
37endef
38
39define Build/Configure
40        $(SED) 's,-I/usr/include,,' $(PKG_BUILD_DIR)/configure
41        $(Build/Configure/Default)
42endef
43
44CONFIGURE_ARGS +=  \
45        --disable-dependency-tracking \
46        --enable-tcp-wrapper \
47        --disable-glibtest \
48        --disable-spoof-source \
49        --disable-sql \
50        --enable-prce \
51        --disable-linux-caps \
52
53TARGET_CPPFLAGS += \
54        -I$(STAGING_DIR)/usr/include/eventlog
55
56TARGET_LDFLAGS += \
57        -L$(STAGING_DIR)/usr/lib/libintl/lib \
58        -L$(STAGING_DIR)/usr/lib/libiconv/lib
59
60CONFIGURE_VARS += \
61        LIBDBI_CFLAGS="-I$(STAGING_DIR)/usr/include"
62
63define Package/syslog-ng3/install
64        $(INSTALL_DIR) $(1)/usr/sbin
65        $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/syslog-ng $(1)/usr/sbin/
66        $(INSTALL_DIR) $(1)/etc/init.d
67        $(INSTALL_BIN) ./files/syslog-ng.init $(1)/etc/init.d/syslog-ng
68        $(INSTALL_DIR) $(1)/etc
69        $(INSTALL_DATA) ./files/syslog-ng.conf $(1)/etc
70endef
71
72$(eval $(call BuildPackage,syslog-ng3))
Note: See TracBrowser for help on using the repository browser.