Makefile 1.0 KB

1234567891011121314151617181920212223242526272829303132
  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:= ssmtp
  5. PKG_VERSION:= 2.61
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 2151ad18cb73f9a254f796dde2b48be7318b45410b59fedbb258db5a41044fb5
  8. PKG_DESCR:= minimal and secure mail sender
  9. PKG_SECTION:= net/mail
  10. PKG_SITES:= http://ftp.debian.org/debian/pool/main/s/ssmtp/
  11. DISTFILES:= ${PKG_NAME}_${PKG_VERSION}.orig.tar.gz
  12. include ${ADK_TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,SSMTP,ssmtp,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. INSTALL_STYLE:= manual
  15. CONFIGURE_ENV+= ac_cv_lib_nsl_gethostname=no
  16. do-install:
  17. ${INSTALL_DIR} ${IDIR_SSMTP}/etc/ssmtp
  18. ${INSTALL_DIR} ${IDIR_SSMTP}/usr/sbin
  19. ${INSTALL_DATA} ${WRKBUILD}/ssmtp.conf ${IDIR_SSMTP}/etc/ssmtp/
  20. ${INSTALL_DATA} ${WRKBUILD}/revaliases ${IDIR_SSMTP}/etc/ssmtp/
  21. ${INSTALL_BIN} ${WRKBUILD}/ssmtp ${IDIR_SSMTP}/usr/sbin/
  22. ln -sf ssmtp ${IDIR_SSMTP}/usr/sbin/sendmail
  23. include ${ADK_TOPDIR}/mk/pkg-bottom.mk