Makefile 963 B

123456789101112131415161718192021222324252627282930
  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:= logrotate
  5. PKG_VERSION:= 3.7.8
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= b3589bea6d8d5afc8a84134fddaae973
  8. PKG_DESCR:= logfile rotation utility
  9. PKG_SECTION:= misc
  10. PKG_DEPENDS:= libpopt
  11. PKG_BUILDDEP:= popt
  12. PKG_SITES:= https://fedorahosted.org/releases/l/o/logrotate/
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,LOGROTATE,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIG_STYLE:= manual
  16. TCFLAGS+= -D_GNU_SOURCE -DVERSION=\"$(PKG_VERSION)\"
  17. post-install:
  18. ${INSTALL_DIR} ${IDIR_LOGROTATE}/usr/sbin
  19. ${INSTALL_BIN} ${WRKINST}/usr/sbin/logrotate ${IDIR_LOGROTATE}/usr/sbin
  20. ${INSTALL_DIR} ${IDIR_LOGROTATE}/etc/logrotate.d
  21. ${INSTALL_DATA} ./files/logrotate.conf ${IDIR_LOGROTATE}/etc
  22. include ${TOPDIR}/mk/pkg-bottom.mk