2 # Copyright (C) 2006-2008 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
13 PKG_MD5SUM
:=a3cbfdb6e1e5beea181a7349749719f3
16 http
://www.balabit.com
/downloads
/files
/syslog-ng
/sources
/1.6/src \
17 http
://www.balabit.com
/downloads
/files
/syslog-ng
/stable
/src
18 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
20 include $(INCLUDE_DIR
)/package.mk
22 define Package
/syslog-ng
24 CATEGORY
:=Administration
26 TITLE
:=A powerful syslog daemon
27 URL
:=http
://www.balabit.com
/products
/syslog_ng
/
30 define Package
/syslog-ng
/description
31 syslog-ng reads and logs messages to the system console
, log
32 files
, other machines and
/or users
as specified by its
36 define Package
/syslog-ng
/conffiles
37 /etc
/syslog-ng
/syslog-ng.conf
40 define Build
/Configure
41 $(call Build
/Configure
/Default
, \
42 --disable-dependency-tracking \
43 --disable-full-static \
44 --enable-tcp-wrapper \
45 --with-libol
="$(STAGING_DIR)/host/bin" \
47 CPPFLAGS
="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/usr/include/libol" \
48 LDFLAGS
="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/usr/lib/libol" \
53 $(call Build
/Compile
/Default
,DESTDIR
="$(PKG_INSTALL_DIR)" all install)
56 define Package
/syslog-ng
/install
57 $(INSTALL_DIR
) $(1)/usr
/sbin
58 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/syslog-ng
$(1)/usr
/sbin
/
59 $(INSTALL_DIR
) $(1)/etc
/init.d
60 $(INSTALL_BIN
) .
/files
/syslog-ng.init
$(1)/etc
/init.d
/syslog-ng
61 $(INSTALL_DIR
) $(1)/etc
/syslog-ng
62 $(INSTALL_DATA
) .
/files
/syslog-ng.conf
$(1)/etc
/syslog-ng
/
65 $(eval
$(call BuildPackage
,syslog-ng
))