Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${TOPDIR}/rules.mk
  4. PKG_NAME:= syslog-ng
  5. PKG_VERSION:= 1.6.12
  6. PKG_RELEASE:= 1
  7. PKG_BUILDDEP+= libol tcp_wrappers
  8. PKG_MD5SUM:= a3cbfdb6e1e5beea181a7349749719f3
  9. PKG_DESCR:= A powerful syslog daemon
  10. PKG_SECTION:= admin
  11. PKG_DEPENDS:= libol libwrap
  12. PKG_URL:= http://www.balabit.com
  13. PKG_SITES:= http://www.balabit.com/downloads/files/syslog-ng/sources/1.6/src/
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,SYSLOG_NG,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_STYLE:= gnu
  17. CONFIGURE_ARGS+= --enable-full-dynamic \
  18. --enable-tcp-wrapper
  19. CONFIGURE_ENV+= ac_cv_path_libol_config=${STAGING_DIR}/usr/bin
  20. CONFIGURE_ENV+= ac_cv_lib_nsl_gethostbyname=no
  21. BUILD_STYLE:= auto
  22. INSTALL_STYLE:= auto
  23. post-install:
  24. ${INSTALL_DIR} ${IDIR_SYSLOG_NG}/usr/sbin ${IDIR_SYSLOG_NG}/etc/syslog-ng
  25. ${INSTALL_BIN} ${WRKINST}/usr/sbin/syslog-ng ${IDIR_SYSLOG_NG}/usr/sbin/
  26. ${INSTALL_DATA} ./files/syslog-ng.conf ${IDIR_SYSLOG_NG}/etc/syslog-ng/
  27. include ${TOPDIR}/mk/pkg-bottom.mk