Makefile 1.0 KB

12345678910111213141516171819202122232425262728293031
  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. BUILD_STYLE:= auto
  17. MAKE_FLAGS+= OFLAGS="${TARGET_CFLAGS}"
  18. MAKE_FLAGS+= CC="${TARGET_CC}"
  19. do-install:
  20. ${INSTALL_DIR} ${IDIR_MINI_SENDMAIL}/usr/sbin
  21. ${INSTALL_BIN} ${WRKBUILD}/mini_sendmail ${IDIR_MINI_SENDMAIL}/usr/sbin/
  22. ln -sf mini_sendmail ${IDIR_MINI_SENDMAIL}/usr/sbin/sendmail
  23. include ${TOPDIR}/mk/pkg-bottom.mk