Makefile 1.0 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:= procmail
  5. PKG_VERSION:= 3.22
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 087c75b34dd33d8b9df5afe9e42801c9395f4bf373a784d9bc97153b0062e117
  8. PKG_DESCR:= mail processing tools
  9. PKG_SECTION:= net/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 ${ADK_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 ${ADK_TOPDIR}/mk/pkg-bottom.mk