Makefile 1014 B

123456789101112131415161718192021222324252627282930313233
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME:= ssmtp
  7. PKG_VERSION:= 2.61
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= 957e6fff08625fe34f4fc33d0925bbc9
  10. PKG_DESCR:= A minimal and secure mail sender
  11. PKG_SECTION:= net
  12. PKG_SITES:= http://ftp.debian.org/debian/pool/main/s/ssmtp/
  13. DISTFILES:= ${PKG_NAME}_${PKG_VERSION}.orig.tar.gz
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,SSMTP,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_STYLE:= gnu
  17. BUILD_STYLE:= auto
  18. do-install:
  19. ${INSTALL_DIR} ${IDIR_SSMTP}/etc/ssmtp
  20. ${INSTALL_DIR} ${IDIR_SSMTP}/usr/sbin
  21. ${INSTALL_DATA} ${WRKBUILD}/ssmtp.conf ${IDIR_SSMTP}/etc/ssmtp/
  22. ${INSTALL_DATA} ${WRKBUILD}/revaliases ${IDIR_SSMTP}/etc/ssmtp/
  23. ${INSTALL_BIN} ${WRKBUILD}/ssmtp ${IDIR_SSMTP}/usr/sbin/
  24. ln -sf ssmtp ${IDIR_SSMTP}/usr/sbin/sendmail
  25. include ${TOPDIR}/mk/pkg-bottom.mk