diff options
author | Nicolas Thill <nico@openwrt.org> | 2005-06-17 06:23:49 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2005-06-17 06:23:49 +0000 |
commit | a68c52edf05055d7749a410e56cfaae785c5dddc (patch) | |
tree | 927e1d5b4b794935adad0ca819128b415ee5eb1e /openwrt/package/mini_sendmail/Makefile | |
parent | 4779c70fe8be603efcae9b89f57093df1032c3b0 (diff) | |
download | mtk-20170518-a68c52edf05055d7749a410e56cfaae785c5dddc.zip mtk-20170518-a68c52edf05055d7749a410e56cfaae785c5dddc.tar.gz mtk-20170518-a68c52edf05055d7749a410e56cfaae785c5dddc.tar.bz2 |
Add mini_sendmail package
SVN-Revision: 1268
Diffstat (limited to 'openwrt/package/mini_sendmail/Makefile')
-rw-r--r-- | openwrt/package/mini_sendmail/Makefile | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/openwrt/package/mini_sendmail/Makefile b/openwrt/package/mini_sendmail/Makefile new file mode 100644 index 0000000..30a799b --- /dev/null +++ b/openwrt/package/mini_sendmail/Makefile @@ -0,0 +1,36 @@ +# $Id$ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=mini-sendmail +PKG_VERSION:=1.3.5 +PKG_RELEASE:=1 +PKG_MD5SUM:= + +PKG_SOURCE_URL:=http://www.acme.com/software/mini_sendmail/ +PKG_SOURCE:=mini_sendmail-$(PKG_VERSION).tar.gz +PKG_CAT:=zcat + +PKG_BUILD_DIR:=$(BUILD_DIR)/mini_sendmail-$(PKG_VERSION) + +include $(TOPDIR)/package/rules.mk + +$(eval $(call PKG_template,MINI_SENDMAIL,mini-sendmail,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) + + +$(PKG_BUILD_DIR)/.configured: + touch $@ + +$(PKG_BUILD_DIR)/.built: + $(MAKE) -C $(PKG_BUILD_DIR) \ + CC=$(TARGET_CC) \ + OFLAGS="$(TARGET_CFLAGS)" \ + all + touch $@ + +$(IPKG_MINI_SENDMAIL): + install -d -m0755 $(IDIR_MINI_SENDMAIL)/usr/sbin + install -m0755 $(PKG_BUILD_DIR)/mini_sendmail $(IDIR_MINI_SENDMAIL)/usr/sbin/ + ln -sf mini_sendmail $(IDIR_MINI_SENDMAIL)/usr/sbin/sendmail + $(RSTRIP) $(IDIR_MINI_SENDMAIL) + $(IPKG_BUILD) $(IDIR_MINI_SENDMAIL) $(PACKAGE_DIR) |