Makefile 1.3 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:= rsyslog
  5. PKG_VERSION:= 8.10.0
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= b92df3f367108219e2fffccd463bf49d75cb8ab3ceaa52e9789f85eace066912
  8. PKG_DESCR:= syslog daemon
  9. PKG_SECTION:= sys/misc
  10. PKG_BUILDDEP:= libestr liblogging json-c util-linux zlib ncurses
  11. PKG_DEPENDS:= libestr liblogging json-c libuuid zlib libncurses
  12. PKG_NEEDS:= threads rt
  13. PKG_URL:= http://www.rsyslog.com/
  14. PKG_SITES:= http://www.rsyslog.com/files/download/rsyslog/
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  16. include $(ADK_TOPDIR)/mk/package.mk
  17. $(eval $(call PKG_template,RSYSLOG,rsyslog,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. CONFIGURE_ENV+= ac_cv_func_malloc_0_nonnull=yes \
  19. ac_cv_func_realloc_0_nonnull=yes
  20. rsyslog-install:
  21. $(INSTALL_DIR) $(IDIR_RSYSLOG)/etc
  22. $(CP) ./files/rsyslog.conf $(IDIR_RSYSLOG)/etc
  23. $(INSTALL_DIR) $(IDIR_RSYSLOG)/usr/lib/rsyslog
  24. $(CP) $(WRKINST)/usr/lib/rsyslog/*.so \
  25. $(IDIR_RSYSLOG)/usr/lib/rsyslog
  26. $(INSTALL_DIR) $(IDIR_RSYSLOG)/usr/sbin
  27. $(INSTALL_BIN) $(WRKINST)/usr/sbin/rsyslogd \
  28. $(IDIR_RSYSLOG)/usr/sbin
  29. include ${ADK_TOPDIR}/mk/pkg-bottom.mk