Add dependencies on libncurses and libreadline
[openwrt.git] / openwrt / package / mini_sendmail / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=mini-sendmail
6 PKG_VERSION:=1.3.5
7 PKG_RELEASE:=1
8 PKG_MD5SUM:=fff344184e98cff0ea4d817da9d29383
9
10 PKG_SOURCE_URL:=http://www.acme.com/software/mini_sendmail/
11 PKG_SOURCE:=mini_sendmail-$(PKG_VERSION).tar.gz
12 PKG_CAT:=zcat
13
14 PKG_BUILD_DIR:=$(BUILD_DIR)/mini_sendmail-$(PKG_VERSION)
15
16 include $(TOPDIR)/package/rules.mk
17
18 $(eval $(call PKG_template,MINI_SENDMAIL,mini-sendmail,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
19
20
21 $(PKG_BUILD_DIR)/.configured:
22 touch $@
23
24 $(PKG_BUILD_DIR)/.built:
25 $(MAKE) -C $(PKG_BUILD_DIR) \
26 CC=$(TARGET_CC) \
27 OFLAGS="$(TARGET_CFLAGS)" \
28 all
29 touch $@
30
31 $(IPKG_MINI_SENDMAIL):
32 install -d -m0755 $(IDIR_MINI_SENDMAIL)/usr/sbin
33 install -m0755 $(PKG_BUILD_DIR)/mini_sendmail $(IDIR_MINI_SENDMAIL)/usr/sbin/
34 ln -sf mini_sendmail $(IDIR_MINI_SENDMAIL)/usr/sbin/sendmail
35 $(RSTRIP) $(IDIR_MINI_SENDMAIL)
36 $(IPKG_BUILD) $(IDIR_MINI_SENDMAIL) $(PACKAGE_DIR)
This page took 0.047635 seconds and 5 git commands to generate.