You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
1.5 KiB

  1. #
  2. # Copyright (C) 2007-2014 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=nail
  9. PKG_VERSION:=
  10. PKG_RELEASE:=1
  11. PKG_LICENSE:=BSD-2-Clause
  12. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  13. PKG_SOURCE_URL:=:pserver:anonymous@nail.cvs.sourceforge.net:/cvsroot/nail
  14. PKG_SOURCE_SUBDIR:=$(PKG_NAME)
  15. PKG_SOURCE_VERSION:=-D"2014-11-24 00:00"
  16. PKG_SOURCE_PROTO:=cvs
  17. PKG_INSTALL:=0
  18. include $(INCLUDE_DIR)/package.mk
  19. define Package/nail
  20. SECTION:=mail
  21. CATEGORY:=Mail
  22. TITLE:=Heirloom mailx (nail)
  23. URL:=http://heirloom.sourceforge.net/mailx.html
  24. MAINTAINER:=Dmitry V. Zimin <pfzim@mail.ru>
  25. DEPENDS:=+libopenssl
  26. endef
  27. define Package/nail/description
  28. Heirloom mailx (formerly known as "nail") is intended provide
  29. the functionality of the POSIX mailx command with additional
  30. support for MIME messages, IMAP (including caching), POP3,
  31. SMTP, S/MIME, message threading/sorting, scoring, and filtering
  32. endef
  33. define Package/nail/conffiles
  34. /etc/nail.rc
  35. endef
  36. define Build/Install
  37. $(INSTALL_DIR) $(PKG_INSTALL_DIR)/usr/bin
  38. $(CP) $(PKG_BUILD_DIR)/mailx $(PKG_INSTALL_DIR)/usr/bin/
  39. $(INSTALL_DIR) $(PKG_INSTALL_DIR)/etc
  40. $(CP) $(PKG_BUILD_DIR)/nail.rc $(PKG_INSTALL_DIR)/etc/
  41. endef
  42. define Package/nail/install
  43. $(INSTALL_DIR) $(1)/usr/bin
  44. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
  45. $(INSTALL_DIR) $(1)/etc
  46. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/etc/* $(1)/etc/
  47. endef
  48. $(eval $(call BuildPackage,nail))