Makefile 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  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:= 2
  7. PKG_MD5SUM:= 027cdd9959203de0c3c64149a7ee351c
  8. PKG_DESCR:= Mail text client
  9. PKG_SECTION:= mail
  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,mutt,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. TARGET_LDFLAGS+= -ltinfo
  17. CONFIGURE_ARGS+= --includedir=${WRKBUILD}/. \
  18. --oldincludedir=${WRKBUILD}/. \
  19. --with-homespool="~/Maildir" \
  20. --enable-pop \
  21. --enable-imap \
  22. --with-ssl
  23. mutt-install:
  24. ${INSTALL_DIR} ${IDIR_MUTT}/usr/bin
  25. ${INSTALL_BIN} ${WRKINST}/usr/bin/mutt ${IDIR_MUTT}/usr/bin/
  26. ifeq (${ADK_PACKAGE_GPG},y)
  27. ${INSTALL_BIN} ${WRKINST}/usr/bin/pgpewrap ${IDIR_MUTT}/usr/bin/
  28. endif
  29. include ${TOPDIR}/mk/pkg-bottom.mk