2 # Copyright (C) 2007-2008 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
11 PKG_NAME
:=mini-sendmail
15 PKG_SOURCE
:=mini_sendmail-
$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=http
://www.acme.com
/software
/mini_sendmail
/
17 PKG_MD5SUM
:=fb1585d2ad81c519a26d83bfd783dee8
19 PKG_BUILD_DIR
:=$(BUILD_DIR
)/mini_sendmail-
$(PKG_VERSION
)
21 include $(INCLUDE_DIR
)/package.mk
23 define Package
/mini-sendmail
26 TITLE
:=A small sendmail-compatible mail forwarder
27 URL
:=http
://www.acme.com
/software
/mini_sendmail
/
30 define Package
/mini-sendmail
/description
31 mini_sendmail reads its standard input up to an end-of-file and sends a
32 copy of the message found there to
all of the addresses listed.
33 The message is sent by connecting to a local SMTP server. This means
34 mini_sendmail can be used to send email from inside a chroot
(2) area.
38 OFLAGS
="$(TARGET_CFLAGS)"
40 define Package
/mini-sendmail
/install
41 $(INSTALL_DIR
) $(1)/usr
/sbin
42 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/mini_sendmail
$(1)/usr
/sbin
/
43 ln
-sf mini_sendmail
$(1)/usr
/sbin
/sendmail
46 $(eval
$(call BuildPackage
,mini-sendmail
))