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