+ all install
+ touch $@
+
+$(IPKG_OPENSSH_CLIENT):
+ install -m0755 -d $(IDIR_OPENSSH_CLIENT)/etc/ssh
+ chmod 0700 $(IDIR_OPENSSH_CLIENT)/etc/ssh
+ $(CP) $(PKG_INSTALL_DIR)/etc/ssh/ssh_config $(IDIR_OPENSSH_CLIENT)/etc/ssh/
+ install -m0755 -d $(IDIR_OPENSSH_CLIENT)/usr/bin
+ $(CP) $(PKG_INSTALL_DIR)/usr/bin/ssh $(IDIR_OPENSSH_CLIENT)/usr/bin/
+ $(CP) $(PKG_INSTALL_DIR)/usr/bin/scp $(IDIR_OPENSSH_CLIENT)/usr/bin/
+ $(RSTRIP) $(IDIR_OPENSSH_CLIENT)
+ $(IPKG_BUILD) $(IDIR_OPENSSH_CLIENT) $(PACKAGE_DIR)
+
+$(IPKG_OPENSSH_CLIENT_UTILS):
+ install -m0755 -d $(IDIR_OPENSSH_CLIENT_UTILS)/usr/bin
+ $(CP) $(PKG_INSTALL_DIR)/usr/bin/ssh-add $(IDIR_OPENSSH_CLIENT_UTILS)/usr/bin/
+ $(CP) $(PKG_INSTALL_DIR)/usr/bin/ssh-agent $(IDIR_OPENSSH_CLIENT_UTILS)/usr/bin/
+ $(CP) $(PKG_INSTALL_DIR)/usr/bin/ssh-keyscan $(IDIR_OPENSSH_CLIENT_UTILS)/usr/bin/
+ $(RSTRIP) $(IDIR_OPENSSH_CLIENT_UTILS)
+ $(IPKG_BUILD) $(IDIR_OPENSSH_CLIENT_UTILS) $(PACKAGE_DIR)
+
+$(IPKG_OPENSSH_SERVER):
+ install -m0755 -d $(IDIR_OPENSSH_SERVER)/etc/ssh
+ chmod 0700 $(IDIR_OPENSSH_SERVER)/etc/ssh
+ $(CP) $(PKG_INSTALL_DIR)/etc/ssh/sshd_config $(IDIR_OPENSSH_SERVER)/etc/ssh/
+ install -m0755 -d $(IDIR_OPENSSH_SERVER)/etc/init.d
+ install -m0755 ./files/S50sshd $(IDIR_OPENSSH_SERVER)/etc/init.d/
+ install -m0755 -d $(IDIR_OPENSSH_SERVER)/usr/bin
+ $(CP) $(PKG_INSTALL_DIR)/usr/bin/ssh-keygen $(IDIR_OPENSSH_SERVER)/usr/bin/
+ install -m0755 -d $(IDIR_OPENSSH_SERVER)/usr/sbin
+ $(CP) $(PKG_INSTALL_DIR)/usr/sbin/sshd $(IDIR_OPENSSH_SERVER)/usr/sbin/
+ $(RSTRIP) $(IDIR_OPENSSH_SERVER)
+ $(IPKG_BUILD) $(IDIR_OPENSSH_SERVER) $(PACKAGE_DIR)
+
+$(IPKG_OPENSSH_SFTP_CLIENT):
+ install -m0755 -d $(IDIR_OPENSSH_SFTP_CLIENT)/usr/bin
+ $(CP) $(PKG_INSTALL_DIR)/usr/bin/sftp $(IDIR_OPENSSH_SFTP_CLIENT)/usr/bin/
+ $(RSTRIP) $(IDIR_OPENSSH_SFTP_CLIENT)
+ $(IPKG_BUILD) $(IDIR_OPENSSH_SFTP_CLIENT) $(PACKAGE_DIR)