remove openssh-sftp-server dependency on libcrypto and zlib
authorFelix Fietkau <nbd@openwrt.org>
Thu, 9 Nov 2006 16:57:26 +0000 (16:57 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 9 Nov 2006 16:57:26 +0000 (16:57 +0000)
SVN-Revision: 5484

net/openssh/Makefile

index de806a5..ae93ff5 100644 (file)
@@ -73,7 +73,7 @@ endef
 define Package/openssh-sftp-server
   SECTION:=net
   CATEGORY:=Network
-  DEPENDS:=+libopenssl +zlib
+  DEPENDS:=
   TITLE:=OpenSSH SFTP server
   DESCRIPTION:=OpenSSH SFTP server.
   URL:=http://www.openssh.com/
@@ -126,6 +126,10 @@ endef
 define Build/Compile
        rm -rf $(PKG_INSTALL_DIR)
        mkdir -p $(PKG_INSTALL_DIR)
+       $(MAKE) -C $(PKG_BUILD_DIR) \
+               DESTDIR="$(PKG_INSTALL_DIR)" \
+               LIBS="" \
+               sftp-server
        $(MAKE) -C $(PKG_BUILD_DIR) \
                DESTDIR="$(PKG_INSTALL_DIR)" \
                all install