Makefile 1005 B

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 ${TOPDIR}/rules.mk
  4. PKG_NAME:= procmail
  5. PKG_VERSION:= 3.22
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 1678ea99b973eb77eda4ecf6acae53f1
  8. PKG_DESCR:= mail processing tools
  9. PKG_SECTION:= mail
  10. PKG_URL:= http://www.procmail.org/
  11. PKG_SITES:= http://www.procmail.org/
  12. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,PROCMAIL,procmail,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIG_STYLE:= manual
  16. BUILD_STYLE:= manual
  17. INSTALL_STYLE:= manual
  18. TARGET_CPPFLAGS+= -DPROCMAIL
  19. do-build:
  20. ${MAKE} -C ${WRKBUILD}/src -f ../Makefile.new
  21. do-install:
  22. ${INSTALL_DIR} ${IDIR_PROCMAIL}/usr/bin
  23. ${INSTALL_BIN} ${WRKBUILD}/src/procmail ${IDIR_PROCMAIL}/usr/bin/
  24. ${INSTALL_BIN} ${WRKBUILD}/src/formail ${IDIR_PROCMAIL}/usr/bin/
  25. include ${TOPDIR}/mk/pkg-bottom.mk