Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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:= 3.5.4.1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= ff3bf223ebafbaa92b69a2d5b729f368
  8. PKG_DESCR:= powerful syslog daemon
  9. PKG_SECTION:= admin
  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 ${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_path_libol_config=${STAGING_TARGET_DIR}/usr/bin
  21. CONFIGURE_ENV+= ac_cv_lib_nsl_gethostbyname=no
  22. syslog-ng-install:
  23. ${INSTALL_DIR} ${IDIR_SYSLOG_NG}/usr/sbin \
  24. ${IDIR_SYSLOG_NG}/etc/syslog-ng
  25. ${INSTALL_BIN} ${WRKINST}/usr/sbin/syslog-ng \
  26. ${IDIR_SYSLOG_NG}/usr/sbin/
  27. ${INSTALL_DATA} ./files/syslog-ng.conf \
  28. ${IDIR_SYSLOG_NG}/etc/syslog-ng/
  29. include ${TOPDIR}/mk/pkg-bottom.mk