Makefile 983 B

12345678910111213141516171819202122232425262728293031
  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.1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 552639142e163745f6bcd4f1f3816d8a
  8. PKG_DESCR:= logfile rotation utility
  9. PKG_SECTION:= misc
  10. PKG_DEPENDS:= libpopt
  11. PKG_SITES:= http://ftp.debian.org/debian/pool/main/l/logrotate/
  12. DISTFILES:= ${PKG_NAME}_${PKG_VERSION}.orig.tar.gz
  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. TCFLAGS+= -D_GNU_SOURCE -DLinux -DVERSION=\"$(PKG_VERSION)\"
  16. ALL_TARGET= logrotate
  17. BUILD_STYLE= auto
  18. do-install:
  19. ${INSTALL_DIR} ${IDIR_LOGROTATE}/usr/sbin
  20. ${CP} ${WRKBUILD}/logrotate ${IDIR_LOGROTATE}/usr/sbin
  21. ${INSTALL_DIR} ${IDIR_LOGROTATE}/etc/logrotate.d
  22. ${CP} ./files/logrotate.conf ${IDIR_LOGROTATE}/etc
  23. include ${TOPDIR}/mk/pkg-bottom.mk