1
0

Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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:= mutt
  5. PKG_VERSION:= 1.5.23
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 3af0701e57b9e1880ed3a0dee34498a228939e854a16cdccd24e5e502626fd37
  8. PKG_DESCR:= mail text client
  9. PKG_SECTION:= net/mail
  10. PKG_DEPENDS:= libncurses libopenssl
  11. PKG_BUILDDEP:= ncurses openssl
  12. PKG_URL:= http://www.mutt.org/
  13. PKG_SITES:= ftp://ftp.mutt.org/mutt/devel/ \
  14. http://ftp.hi.is/pub/mutt/
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  16. include ${ADK_TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,MUTT,mutt,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. TARGET_LDFLAGS+= -ltinfo
  19. CONFIGURE_ARGS+= --includedir=${WRKBUILD}/. \
  20. --oldincludedir=${WRKBUILD}/. \
  21. --with-homespool="~/Maildir" \
  22. --enable-pop \
  23. --enable-imap \
  24. --with-ssl
  25. mutt-install:
  26. ${INSTALL_DIR} ${IDIR_MUTT}/usr/bin
  27. ${INSTALL_BIN} ${WRKINST}/usr/bin/mutt ${IDIR_MUTT}/usr/bin/
  28. ifeq (${ADK_PACKAGE_GPG},y)
  29. ${INSTALL_BIN} ${WRKINST}/usr/bin/pgpewrap ${IDIR_MUTT}/usr/bin/
  30. endif
  31. include ${ADK_TOPDIR}/mk/pkg-bottom.mk