Makefile 1.2 KB

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