2 # Copyright (C) 2006 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
14 PKG_MD5SUM
:=fff344184e98cff0ea4d817da9d29383
16 PKG_SOURCE_URL
:=http
://www.acme.com
/software
/mini_sendmail
/
17 PKG_SOURCE
:=mini_sendmail-
$(PKG_VERSION
).
tar.gz
20 PKG_BUILD_DIR
:=$(BUILD_DIR
)/mini_sendmail-
$(PKG_VERSION
)
22 include $(INCLUDE_DIR
)/package.mk
24 define Package
/mini-sendmail
27 TITLE
:=A small sendmail-compatible mail forwarder
28 DESCRIPTION
:=mini_sendmail reads its standard input up to an end-of-file and sends a
\\\
29 copy of the message found there to
all of the addresses listed.
\\\
30 The message is sent by connecting to a local SMTP server. This means
\\\
31 mini_sendmail can be used to send email from inside a chroot
(2) area.
\\\
32 URL
:=http
://www.acme.com
/software
/mini_sendmail
/
36 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
37 $(TARGET_CONFIGURE_OPTS
) \
38 OFLAGS
="$(TARGET_CFLAGS)" \
42 define Package
/mini-sendmail
/install
43 install -d
-m0755
$(1)/usr
/sbin
44 install -m0755
$(PKG_BUILD_DIR
)/mini_sendmail
$(1)/usr
/sbin
/
45 ln
-sf mini_sendmail
$(1)/usr
/sbin
/sendmail
48 $(eval
$(call BuildPackage
,mini-sendmail
))