diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-06-20 13:16:35 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-06-20 13:16:52 +0200 |
commit | 144eee5e79d8df82a9a55a3e9c8d13eacc4f2aa7 (patch) | |
tree | ce90b046048a46bc664fd4958c7379f07e5c9913 | |
parent | bb7315d40b2e48eb2344ad341dcd627c5d858a26 (diff) |
add lftp package
-rw-r--r-- | TODO | 1 | ||||
-rw-r--r-- | package/lftp/Makefile | 49 |
2 files changed, 49 insertions, 1 deletions
@@ -15,7 +15,6 @@ base system: new or update packages: - port weston / wayland -- port lftp - add btrfs-utils - port uuterm - port opkg with gpg signing diff --git a/package/lftp/Makefile b/package/lftp/Makefile new file mode 100644 index 000000000..5a630aaeb --- /dev/null +++ b/package/lftp/Makefile @@ -0,0 +1,49 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(TOPDIR)/rules.mk + +PKG_NAME:= lftp +PKG_VERSION:= 4.5.2 +PKG_RELEASE:= 1 +PKG_MD5SUM:= d26ab59a7402048d4b382e720748aac6 +PKG_DESCR:= ftp and http client +PKG_SECTION:= net/http +PKG_DEPENDS:= libncurses libexpat libstdcxx +PKG_DEPENDS+= zlib libreadline +PKG_BUILDDEP:= ncurses expat readline zlib +PKG_URL:= http://lftp.yar.ru/ +PKG_SITES:= http://lftp.yar.ru/ftp/ + +PKG_CHOICES_LFTP:= WITH_GNUTLS WITH_OPENSSL WITHOUT_SSL +PKGCD_WITHOUT_SSL:= use no ssl +PKGCD_WITH_OPENSSL:= use openssl for crypto +PKGCS_WITH_OPENSSL:= libopenssl ca-certificates +PKGCB_WITH_OPENSSL:= openssl +PKGCD_WITH_GNUTLS:= use gnutls for crypto +PKGCS_WITH_GNUTLS:= libgnutls ca-certificates +PKGCB_WITH_GNUTLS:= gnutls + +include $(TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,LFTP,lftp,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +ifeq (${ADK_PACKAGE_LFTP_WITHOUT_SSL},y) +CONFIGURE_ARGS+= --without-openssl \ + --without-gnutls +endif +ifeq (${ADK_PACKAGE_LFTP_WITH_GNUTLS},y) +CONFIGURE_ARGS+= --without-openssl \ + --with-gnutls +endif +ifeq (${ADK_PACKAGE_LFTP_WITH_OPENSSL},y) +CONFIGURE_ARGS+= --with-openssl \ + --without-gnutls +endif + +lftp-install: + $(INSTALL_DIR) $(IDIR_LFTP)/usr/bin + $(INSTALL_BIN) $(WRKINST)/usr/bin/lftp \ + $(IDIR_LFTP)/usr/bin + +include ${TOPDIR}/mk/pkg-bottom.mk |