3 include $(TOPDIR
)/rules.mk
5 PKG_NAME
:=mini-sendmail
8 PKG_MD5SUM
:=fff344184e98cff0ea4d817da9d29383
10 PKG_SOURCE_URL
:=http
://www.acme.com
/software
/mini_sendmail
/
11 PKG_SOURCE
:=mini_sendmail-
$(PKG_VERSION
).
tar.gz
14 PKG_BUILD_DIR
:=$(BUILD_DIR
)/mini_sendmail-
$(PKG_VERSION
)
16 include $(TOPDIR
)/package
/rules.mk
18 $(eval
$(call PKG_template
,MINI_SENDMAIL
,mini-sendmail
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
21 $(PKG_BUILD_DIR
)/.configured
:
24 $(PKG_BUILD_DIR
)/.built
:
25 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
27 OFLAGS
="$(TARGET_CFLAGS)" \
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
)