Makefile 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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 $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= lftp
  5. PKG_VERSION:= 4.5.2
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= d26ab59a7402048d4b382e720748aac6
  8. PKG_DESCR:= ftp and http client
  9. PKG_SECTION:= net/http
  10. PKG_DEPENDS:= libncurses libexpat libstdcxx
  11. PKG_DEPENDS+= zlib libreadline
  12. PKG_BUILDDEP:= ncurses expat readline zlib
  13. PKG_URL:= http://lftp.yar.ru/
  14. PKG_SITES:= http://lftp.yar.ru/ftp/
  15. PKG_CHOICES_LFTP:= WITH_GNUTLS WITH_OPENSSL WITHOUT_SSL
  16. PKGCD_WITHOUT_SSL:= use no ssl
  17. PKGCD_WITH_OPENSSL:= use openssl for crypto
  18. PKGCS_WITH_OPENSSL:= libopenssl ca-certificates
  19. PKGCB_WITH_OPENSSL:= openssl
  20. PKGCD_WITH_GNUTLS:= use gnutls for crypto
  21. PKGCS_WITH_GNUTLS:= libgnutls ca-certificates
  22. PKGCB_WITH_GNUTLS:= gnutls
  23. include $(ADK_TOPDIR)/mk/package.mk
  24. $(eval $(call PKG_template,LFTP,lftp,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  25. ifeq (${ADK_PACKAGE_LFTP_WITHOUT_SSL},y)
  26. CONFIGURE_ARGS+= --without-openssl \
  27. --without-gnutls
  28. endif
  29. ifeq (${ADK_PACKAGE_LFTP_WITH_GNUTLS},y)
  30. CONFIGURE_ARGS+= --without-openssl \
  31. --with-gnutls
  32. endif
  33. ifeq (${ADK_PACKAGE_LFTP_WITH_OPENSSL},y)
  34. CONFIGURE_ARGS+= --with-openssl \
  35. --without-gnutls
  36. endif
  37. lftp-install:
  38. $(INSTALL_DIR) $(IDIR_LFTP)/usr/bin
  39. $(INSTALL_BIN) $(WRKINST)/usr/bin/lftp \
  40. $(IDIR_LFTP)/usr/bin
  41. include ${ADK_TOPDIR}/mk/pkg-bottom.mk