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