summaryrefslogtreecommitdiff
path: root/package/syslog-ng/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/syslog-ng/Makefile')
-rw-r--r--package/syslog-ng/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/package/syslog-ng/Makefile b/package/syslog-ng/Makefile
index f7dee9f29..92f52814d 100644
--- a/package/syslog-ng/Makefile
+++ b/package/syslog-ng/Makefile
@@ -9,11 +9,15 @@ 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/
+PKG_DESCR:= A powerful syslog daemon
+PKG_SECTION:= admin
+PKG_DEPENDS:= libol libwrap
+PKG_URL:= http://www.balabit.com
+PKG_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}))
+$(eval $(call PKG_template,SYSLOG_NG,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIGURE_STYLE:= gnu
CONFIGURE_ARGS+= --enable-full-dynamic \
@@ -23,12 +27,8 @@ BUILD_STYLE:= auto
INSTALL_STYLE:= auto
post-install:
- ${INSTALL_DIR} ${IDIR_SYSLOG_NG}/usr/sbin
+ ${INSTALL_DIR} ${IDIR_SYSLOG_NG}/usr/sbin ${IDIR_SYSLOG_NG}/etc/syslog-ng
${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