Makefile 1.5 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.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_DEPENDS:=
  11. PKG_URL:= http://www.proftpd.org/
  12. PKG_SITES:= ftp://ftp.proftpd.org/distrib/source/
  13. # if downloaded package is not ending with .tar.gz use following
  14. #DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  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_STYLE:= gnu
  18. # use following to add ./configure options
  19. #CONFIGURE_ARGS+= --disable-foo
  20. # overwrite any configure variables
  21. CONFIGURE_ENV+= ac_cv_func_setpgrp_void=yes \
  22. ac_cv_func_setgrent_void=yes
  23. BUILD_STYLE:= auto
  24. INSTALL_STYLE:= auto
  25. # please install all files and directories to the package dir
  26. post-install:
  27. $(INSTALL_DIR) $(IDIR_PROFTPD)/etc
  28. $(INSTALL_DATA) $(WRKINST)/etc/proftpd.conf $(IDIR_PROFTPD)/etc/
  29. $(INSTALL_DIR) $(IDIR_PROFTPD)/usr/{s,}bin
  30. $(INSTALL_BIN) $(WRKINST)/usr/bin/ftp{count,dctl,top,who} $(IDIR_PROFTPD)/usr/bin/
  31. $(INSTALL_BIN) $(WRKINST)/usr/bin/prxs $(IDIR_PROFTPD)/usr/bin/
  32. $(INSTALL_BIN) $(WRKINST)/usr/sbin/{ftpshut,proftpd} $(IDIR_PROFTPD)/usr/sbin/
  33. # XXX: maybe this should be a symlink to /tmp or so
  34. $(INSTALL_DIR) $(IDIR_PROFTPD)/var/proftpd
  35. include ${TOPDIR}/mk/pkg-bottom.mk