Makefile 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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.4d
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 13c6fd7ce320886adc371c81a3e23f07
  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_LIBC_DEPENDS:= eglibc glibc
  14. PKG_CFLINE_PROFTPD:= depends on ADK_BROKEN
  15. PKG_FLAVOURS_PROFTPD:= WITH_FTPUSERS
  16. PKGFD_WITH_FTPUSERS:= install /etc/ftpusers along with proftpd
  17. include $(TOPDIR)/mk/package.mk
  18. $(eval $(call PKG_template,PROFTPD,proftpd,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. CONFIGURE_ARGS+= --disable-cap
  20. CONFIGURE_ENV+= ac_cv_func_setpgrp_void=yes \
  21. ac_cv_func_setgrent_void=yes
  22. TARGET_LDFLAGS+= -ltinfo
  23. proftpd-install:
  24. $(INSTALL_DIR) $(IDIR_PROFTPD)/etc
  25. $(INSTALL_DATA) ./files/proftpd.conf $(IDIR_PROFTPD)/etc/
  26. $(INSTALL_DIR) $(IDIR_PROFTPD)/usr/{s,}bin
  27. $(INSTALL_BIN) $(WRKINST)/usr/bin/ftp{count,dctl,top,who} \
  28. $(IDIR_PROFTPD)/usr/bin/
  29. $(INSTALL_BIN) $(WRKINST)/usr/sbin/{ftpshut,proftpd} \
  30. $(IDIR_PROFTPD)/usr/sbin/
  31. ifeq (${ADK_PACKAGE_PROFTPD_WITH_FTPUSERS},y)
  32. ${INSTALL_DATA} ./files/ftpusers ${IDIR_PROFTPD}/etc/
  33. endif
  34. include ${TOPDIR}/mk/pkg-bottom.mk