1
0

Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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:= proftpd
  5. PKG_VERSION:= 1.3.3
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 97ad29f31f4fe633a9f8d021bab2df20
  8. PKG_DESCR:= A very configurable FTP server
  9. PKG_SECTION:= www
  10. PKG_URL:= http://www.proftpd.org/
  11. PKG_SITES:= ftp://ftp.proftpd.org/distrib/source/
  12. PKG_NOPARALLEL:= 1
  13. PKG_FLAVOURS_PROFTPD:= WITH_FTPUSERS
  14. PKGFD_WITH_FTPUSERS:= install /etc/ftpusers along with proftpd
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,PROFTPD,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIGURE_ARGS+= --disable-cap
  18. CONFIGURE_ENV+= ac_cv_func_setpgrp_void=yes \
  19. ac_cv_func_setgrent_void=yes
  20. post-install:
  21. $(INSTALL_DIR) $(IDIR_PROFTPD)/etc
  22. $(INSTALL_DATA) ./files/proftpd.conf $(IDIR_PROFTPD)/etc/
  23. $(INSTALL_DIR) $(IDIR_PROFTPD)/usr/{s,}bin
  24. $(INSTALL_BIN) $(WRKINST)/usr/bin/ftp{count,dctl,top,who} \
  25. $(IDIR_PROFTPD)/usr/bin/
  26. $(INSTALL_BIN) $(WRKINST)/usr/sbin/{ftpshut,proftpd} \
  27. $(IDIR_PROFTPD)/usr/sbin/
  28. ifeq (${ADK_PACKAGE_PROFTPD_WITH_FTPUSERS},y)
  29. ${INSTALL_DATA} ./files/ftpusers ${IDIR_PROFTPD}/etc/
  30. endif
  31. include ${TOPDIR}/mk/pkg-bottom.mk