Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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:=mpack
  9. PKG_VERSION:=1.6
  10. PKG_RELEASE:=1
  11. PKG_LICENSE:=NLPL
  12. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  13. PKG_SOURCE_URL:=http://ftp.andrew.cmu.edu/pub/mpack/
  14. PKG_MD5SUM:=a70fa5afa76539a9afb70b9d81568fe8
  15. PKG_INSTALL:=1
  16. include $(INCLUDE_DIR)/package.mk
  17. define Package/mpack
  18. SECTION:=utils
  19. CATEGORY:=Utilities
  20. TITLE:=mpack/munpack MIME format mail messages
  21. URL:=http://ftp.andrew.cmu.edu/pub/mpack/
  22. MAINTAINER:=Dmitry V. Zimin <pfzim@mail.ru>
  23. endef
  24. define Package/mpack/description
  25. Mpack and munpack are utilities for encoding and decoding
  26. (respectively) binary files in MIME (Multipurpose Internet Mail
  27. Extensions) format mail messages. For compatibility with older forms
  28. of transferring binary files, the munpack program can also decode
  29. messages in split-uuencoded format.
  30. endef
  31. define Package/mpack/install
  32. $(INSTALL_DIR) $(1)/usr/bin
  33. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
  34. endef
  35. $(eval $(call BuildPackage,mpack))