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 ${ADK_TOPDIR}/rules.mk
  4. PKG_NAME:= mini-sendmail
  5. PKG_VERSION:= 1.3.6
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= b9f7c20e2d148c8b9369cf8ca65a2b0a72ff29b377f0cdceb5f1d4e184fedd34
  8. PKG_DESCR:= small sendmail-compatible mail forwarder
  9. PKG_SECTION:= net/mail
  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 ${ADK_TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,MINI_SENDMAIL,mini-sendmail,${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 ${ADK_TOPDIR}/mk/pkg-bottom.mk