Makefile 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  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_BUILDDEP+= ncurses openssl
  8. PKG_MD5SUM:= 027cdd9959203de0c3c64149a7ee351c
  9. PKG_DESCR:= Mail text client
  10. PKG_SECTION:= text
  11. PKG_DEPENDS:= libncurses libopenssl
  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_STYLE:= gnu
  17. CONFIGURE_ARGS+= --includedir=${WRKBUILD}/. \
  18. --oldincludedir=${WRKBUILD}/. \
  19. --enable-pop \
  20. --enable-imap \
  21. --with-ssl
  22. BUILD_STYLE:= auto
  23. MAKE_FLAGS+= CC="${TARGET_CC}"
  24. do-install:
  25. ${INSTALL_DIR} ${IDIR_MUTT}/usr/bin
  26. ${INSTALL_BIN} ${WRKBUILD}/mutt ${IDIR_MUTT}/usr/bin/
  27. ifeq (${ADK_PACKAGE_GPG},y)
  28. ${INSTALL_BIN} ${WRKBUILD}/pgpewrap ${IDIR_MUTT}/usr/bin/
  29. endif
  30. include ${TOPDIR}/mk/pkg-bottom.mk