Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  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.2b
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 4918908fcae9e591ba84c66edff73410
  8. PKG_DESCR:= An advanced and very configurable FTP server
  9. PKG_SECTION:= utils
  10. PKG_URL:= http://www.proftpd.org/
  11. PKG_SITES:= ftp://ftp.proftpd.org/distrib/source/
  12. include $(TOPDIR)/mk/package.mk
  13. $(eval $(call PKG_template,PROFTPD,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. CONFIGURE_STYLE:= gnu
  15. CONFIGURE_ARGS+= --disable-cap
  16. CONFIGURE_ENV+= ac_cv_func_setpgrp_void=yes \
  17. ac_cv_func_setgrent_void=yes
  18. BUILD_STYLE:= auto
  19. INSTALL_STYLE:= auto
  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. include ${TOPDIR}/mk/pkg-bottom.mk