Makefile 1.0 KB

123456789101112131415161718192021222324252627282930313233
  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_NOPARALLEL:= 1
  11. PKG_URL:= http://www.proftpd.org/
  12. PKG_SITES:= ftp://ftp.proftpd.org/distrib/source/
  13. include $(TOPDIR)/mk/package.mk
  14. $(eval $(call PKG_template,PROFTPD,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIGURE_ARGS+= --disable-cap
  16. CONFIGURE_ENV+= ac_cv_func_setpgrp_void=yes \
  17. ac_cv_func_setgrent_void=yes
  18. post-install:
  19. $(INSTALL_DIR) $(IDIR_PROFTPD)/etc
  20. $(INSTALL_DATA) ./files/proftpd.conf $(IDIR_PROFTPD)/etc/
  21. $(INSTALL_DIR) $(IDIR_PROFTPD)/usr/{s,}bin
  22. $(INSTALL_BIN) $(WRKINST)/usr/bin/ftp{count,dctl,top,who} \
  23. $(IDIR_PROFTPD)/usr/bin/
  24. $(INSTALL_BIN) $(WRKINST)/usr/sbin/{ftpshut,proftpd} \
  25. $(IDIR_PROFTPD)/usr/sbin/
  26. include ${TOPDIR}/mk/pkg-bottom.mk