[packages] pciutils: update to 3.1.6
[openwrt/svn-archive/archive.git] / mail / mini_sendmail / Makefile
1 #
2 # Copyright (C) 2007-2008 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:=mini-sendmail
11 PKG_VERSION:=1.3.6
12 PKG_RELEASE:=2
13
14 PKG_SOURCE:=mini_sendmail-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://www.acme.com/software/mini_sendmail/
16 PKG_MD5SUM:=fb1585d2ad81c519a26d83bfd783dee8
17
18 PKG_BUILD_DIR:=$(BUILD_DIR)/mini_sendmail-$(PKG_VERSION)
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/mini-sendmail
23 SECTION:=mail
24 CATEGORY:=Mail
25 TITLE:=A small sendmail-compatible mail forwarder
26 URL:=http://www.acme.com/software/mini_sendmail/
27 endef
28
29 define Package/mini-sendmail/description
30 mini_sendmail reads its standard input up to an end-of-file and sends a
31 copy of the message found there to all of the addresses listed.
32 The message is sent by connecting to a local SMTP server. This means
33 mini_sendmail can be used to send email from inside a chroot(2) area.
34 endef
35
36 MAKE_FLAGS += \
37 OFLAGS="$(TARGET_CFLAGS)"
38
39 define Package/mini-sendmail/install
40 $(INSTALL_DIR) $(1)/usr/sbin
41 $(INSTALL_BIN) $(PKG_BUILD_DIR)/mini_sendmail $(1)/usr/sbin/
42 ln -sf mini_sendmail $(1)/usr/sbin/sendmail
43 endef
44
45 $(eval $(call BuildPackage,mini-sendmail))