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 | 493fc05d7f0422f913245f976552c41c8d20de94 (patch) | |
tree | 7eb75032ea88d7b7f88a89e35dc684f3e660b9d3 /package/mini_sendmail/Makefile | |
parent | c2c3e5b4d74cec355f4a01c4c707777d0a95b47f (diff) | |
download | upstream-493fc05d7f0422f913245f976552c41c8d20de94.tar.gz upstream-493fc05d7f0422f913245f976552c41c8d20de94.tar.bz2 upstream-493fc05d7f0422f913245f976552c41c8d20de94.zip |
Add mini_sendmail package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1268 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mini_sendmail/Makefile')
-rw-r--r-- | package/mini_sendmail/Makefile | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/package/mini_sendmail/Makefile b/package/mini_sendmail/Makefile new file mode 100644 index 0000000000..30a799be60 --- /dev/null +++ b/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) |