1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME
:= mini-sendmail
9 PKG_HASH
:= b9f7c20e2d148c8b9369cf8ca65a2b0a72ff29b377f0cdceb5f1d4e184fedd34
10 PKG_DESCR
:= small sendmail-compatible mail forwarder
11 PKG_SECTION
:= net
/mail
12 PKG_URL
:= http
://www.acme.com
/software
/mini_sendmail
/
13 PKG_SITES
:= http
://www.acme.com
/software
/mini_sendmail
/
15 DISTFILES
:= mini_sendmail-
${PKG_VERSION}.
tar.gz
16 WRKDIST
= ${WRKDIR}/mini_sendmail-
${PKG_VERSION}
18 include ${ADK_TOPDIR}/mk
/package.mk
20 $(eval
$(call PKG_template
,MINI_SENDMAIL
,mini-sendmail
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
23 INSTALL_STYLE
:= manual
25 MAKE_FLAGS
+= OFLAGS
="${TARGET_CFLAGS}"
26 MAKE_FLAGS
+= CC
="${TARGET_CC}"
29 ${INSTALL_DIR} ${IDIR_MINI_SENDMAIL}/usr
/sbin
30 ${INSTALL_BIN} ${WRKBUILD}/mini_sendmail \
31 ${IDIR_MINI_SENDMAIL}/usr
/sbin
/
32 ln
-sf mini_sendmail
${IDIR_MINI_SENDMAIL}/usr
/sbin
/sendmail
34 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk