Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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. --with-homespool="~/Maildir" \
  20. --enable-pop \
  21. --enable-imap \
  22. --with-ssl
  23. BUILD_STYLE:= auto
  24. MAKE_FLAGS+= CC="${TARGET_CC}"
  25. do-install:
  26. ${INSTALL_DIR} ${IDIR_MUTT}/usr/bin
  27. ${INSTALL_BIN} ${WRKBUILD}/mutt ${IDIR_MUTT}/usr/bin/
  28. ifeq (${ADK_PACKAGE_GPG},y)
  29. ${INSTALL_BIN} ${WRKBUILD}/pgpewrap ${IDIR_MUTT}/usr/bin/
  30. endif
  31. include ${TOPDIR}/mk/pkg-bottom.mk