Makefile 986 B

123456789101112131415161718192021222324252627282930313233
  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:= mailutils
  5. PKG_VERSION:= 2.2
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 3abca5873249f0eeb184361a75f2229e
  8. PKG_DESCR:= GNU mail program
  9. PKG_SECTION:= mail
  10. PKG_BUILDDEP:= readline
  11. PKG_DEPENDS:= libreadline
  12. PKG_URL:= http://mailutils.org/
  13. PKG_SITES:= ftp://ftp.gnu.org/gnu/mailutils/
  14. PKG_HOST_DEPENDS:= x86 x86_64
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,MAILUTILS,mailutils,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. mailutils-install:
  18. $(INSTALL_DIR) $(IDIR_MAILUTILS)/usr/bin
  19. $(INSTALL_BIN) $(WRKINST)/usr/bin/mail \
  20. $(IDIR_MAILUTILS)/usr/bin
  21. $(INSTALL_DIR) $(IDIR_MAILUTILS)/usr/lib
  22. $(CP) $(WRKINST)/usr/lib/libmailutils*so* \
  23. $(IDIR_MAILUTILS)/usr/lib
  24. $(CP) $(WRKINST)/usr/lib/libmu*so* \
  25. $(IDIR_MAILUTILS)/usr/lib
  26. include ${TOPDIR}/mk/pkg-bottom.mk