Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${TOPDIR}/rules.mk
  4. PKG_NAME:= mini-sendmail
  5. PKG_VERSION:= 1.3.6
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= fb1585d2ad81c519a26d83bfd783dee8
  8. PKG_DESCR:= A small sendmail-compatible mail forwarder
  9. PKG_SECTION:= net
  10. PKG_URL:= http://www.acme.com/software/mini_sendmail
  11. PKG_SITES:= http://www.acme.com/software/mini_sendmail/
  12. DISTFILES:= mini_sendmail-${PKG_VERSION}.tar.gz
  13. WRKDIST= ${WRKDIR}/mini_sendmail-${PKG_VERSION}
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,MINI_SENDMAIL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIG_STYLE:= manual
  17. INSTALL_STYLE:= manual
  18. MAKE_FLAGS+= OFLAGS="${TARGET_CFLAGS}"
  19. MAKE_FLAGS+= CC="${TARGET_CC}"
  20. do-install:
  21. ${INSTALL_DIR} ${IDIR_MINI_SENDMAIL}/usr/sbin
  22. ${INSTALL_BIN} ${WRKBUILD}/mini_sendmail \
  23. ${IDIR_MINI_SENDMAIL}/usr/sbin/
  24. ln -sf mini_sendmail ${IDIR_MINI_SENDMAIL}/usr/sbin/sendmail
  25. include ${TOPDIR}/mk/pkg-bottom.mk