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 ${TOPDIR}/rules.mk
  4. PKG_NAME:= mutt
  5. PKG_VERSION:= 1.5.20
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 027cdd9959203de0c3c64149a7ee351c
  8. PKG_DESCR:= Mail text client
  9. PKG_SECTION:= text
  10. PKG_DEPENDS:= libncurses libopenssl
  11. PKG_BUILDDEP+= ncurses openssl
  12. PKG_URL:= http://www.mutt.org
  13. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=mutt/}
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,MUTT,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_ARGS+= --includedir=${WRKBUILD}/. \
  17. --oldincludedir=${WRKBUILD}/. \
  18. --with-homespool="~/Maildir" \
  19. --enable-pop \
  20. --enable-imap \
  21. --with-ssl
  22. post-install:
  23. ${INSTALL_DIR} ${IDIR_MUTT}/usr/bin
  24. ${INSTALL_BIN} ${WRKINST}/usr/bin/mutt ${IDIR_MUTT}/usr/bin/
  25. ifeq (${ADK_PACKAGE_GPG},y)
  26. ${INSTALL_BIN} ${WRKINST}/usr/bin/pgpewrap ${IDIR_MUTT}/usr/bin/
  27. endif
  28. include ${TOPDIR}/mk/pkg-bottom.mk