summaryrefslogtreecommitdiff
path: root/package/syslog-ng/Makefile
blob: 4a8141750aac4edec4aa5c6f735468bd77fd93cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# $Id$
#-
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include ${TOPDIR}/rules.mk

PKG_NAME:=		syslog-ng
PKG_VERSION:=		1.6.12
PKG_RELEASE:=		1
PKG_MD5SUM:=		a3cbfdb6e1e5beea181a7349749719f3
MASTER_SITES:=		http://www.balabit.com/downloads/files/syslog-ng/sources/1.6/src/

include ${TOPDIR}/mk/package.mk

$(eval $(call PKG_template,SYSLOG_NG,syslog-ng,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))

CONFIGURE_STYLE:=	gnu
CONFIGURE_ARGS+=	--enable-full-dynamic \
			--enable-tcp-wrapper
CONFIGURE_ENV+=		ac_cv_path_libol_config=${STAGING_DIR}/usr/bin
BUILD_STYLE:=		auto
INSTALL_STYLE:=		auto

post-install:
	${INSTALL_DIR} ${IDIR_SYSLOG_NG}/usr/sbin
	${INSTALL_BIN} ${WRKINST}/usr/sbin/syslog-ng ${IDIR_SYSLOG_NG}/usr/sbin/
	${INSTALL_DIR} ${IDIR_SYSLOG_NG}/etc/init.d
	${INSTALL_BIN} ./files/syslog-ng.init \
		${IDIR_SYSLOG_NG}/etc/init.d/${PKG_NAME}
	${INSTALL_DIR} ${IDIR_SYSLOG_NG}/etc/syslog-ng
	${INSTALL_DATA} ./files/syslog-ng.conf ${IDIR_SYSLOG_NG}/etc/syslog-ng/

include ${TOPDIR}/mk/pkg-bottom.mk