Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  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 ${ADK_TOPDIR}/rules.mk
  4. PKG_NAME:= syslog-ng
  5. PKG_VERSION:= 3.5.4.1
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 92c6969e4172b4fd32390f80043b4de7b116f29989d8c2e5a8a687ee6dcd6f66
  8. PKG_DESCR:= powerful syslog daemon
  9. PKG_SECTION:= sys/misc
  10. PKG_BUILDDEP:= eventlog
  11. PKG_DEPENDS:= eventlog
  12. PKG_URL:= http://www.balabit.com/
  13. PKG_SITES:= http://www.balabit.com/downloads/files/syslog-ng/open-source-edition/${PKG_VERSION}/source/
  14. PKG_LIBC_DEPENDS:= glibc musl
  15. DISTFILES:= ${PKG_NAME}_${PKG_VERSION}.tar.gz
  16. include ${ADK_TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,SYSLOG_NG,syslog-ng,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. CONFIGURE_ARGS+= --enable-full-dynamic \
  19. --disable-tcp-wrapper
  20. CONFIGURE_ENV+= ac_cv_lib_nsl_gethostbyname=no
  21. syslog-ng-install:
  22. ${INSTALL_DIR} ${IDIR_SYSLOG_NG}/usr/sbin \
  23. ${IDIR_SYSLOG_NG}/etc/syslog-ng
  24. ${INSTALL_BIN} ${WRKINST}/usr/sbin/syslog-ng \
  25. ${IDIR_SYSLOG_NG}/usr/sbin/
  26. ${INSTALL_DATA} ./files/syslog-ng.conf \
  27. ${IDIR_SYSLOG_NG}/etc/syslog-ng/
  28. include ${ADK_TOPDIR}/mk/pkg-bottom.mk