2 # Copyright (C) 2007-2014 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
13 PKG_LICENSE
:=BSD-2-Clause
15 PKG_SOURCE
:=heirloom-mailx_
$(PKG_VERSION
).orig.
tar.gz
16 PKG_SOURCE_URL
:=http
://ftp.de.debian.org
/debian
/pool
/main
/h
/heirloom-mailx
/
17 PKG_MD5SUM
:=29a6033ef1412824d02eb9d9213cb1f2
18 PKG_BUILD_DIR
:=$(BUILD_DIR
)/heirloom-mailx-
$(PKG_VERSION
)
22 include $(INCLUDE_DIR
)/package.mk
27 TITLE
:=Heirloom mailx
(nail
)
28 URL
:=http
://heirloom.sourceforge.net
/mailx.html
29 MAINTAINER
:=Dmitry V. Zimin
<pfzim@mail.ru
>
33 define Package
/nail
/description
34 Heirloom mailx
(formerly known
as "nail") is intended provide
35 the functionality of the POSIX mailx command with additional
36 support for MIME messages
, IMAP
(including caching
), POP3
,
37 SMTP
, S
/MIME
, message threading
/sorting
, scoring
, and filtering
40 define Package
/nail
/conffiles
45 $(INSTALL_DIR
) $(PKG_INSTALL_DIR
)/usr
/bin
46 $(CP
) $(PKG_BUILD_DIR
)/mailx
$(PKG_INSTALL_DIR
)/usr
/bin
/
47 $(INSTALL_DIR
) $(PKG_INSTALL_DIR
)/etc
48 $(CP
) $(PKG_BUILD_DIR
)/nail.rc
$(PKG_INSTALL_DIR
)/etc
/
51 define Package
/nail
/install
52 $(INSTALL_DIR
) $(1)/usr
/bin
53 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/* $(1)/usr
/bin
/
54 $(INSTALL_DIR
) $(1)/etc
55 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/etc
/* $(1)/etc
/
58 $(eval
$(call BuildPackage
,nail
))