From 21ce3498b84d91751e8f460b8f9c9876122c3cc8 Mon Sep 17 00:00:00 2001 From: Florian Fainelli <florian@openwrt.org> Date: Sat, 12 Feb 2011 12:57:31 +0000 Subject: [PATCH] openssh: simplify makefile SVN-Revision: 25471 --- net/openssh/Makefile | 49 ++++++++++++++++---------------------------- 1 file changed, 18 insertions(+), 31 deletions(-) diff --git a/net/openssh/Makefile b/net/openssh/Makefile index 66c233155..843d01538 100644 --- a/net/openssh/Makefile +++ b/net/openssh/Makefile @@ -22,16 +22,21 @@ PKG_BUILD_DEPENDS:=libopenssl include $(INCLUDE_DIR)/package.mk -define Package/openssh-client +define Package/openssh/Default SECTION:=net CATEGORY:=Network DEPENDS:=+libopenssl +zlib +libgcc - TITLE:=OpenSSH client + TITLE:=OpenSSH MAINTAINER:=Peter Wagner <tripolar@gmx.at> URL:=http://www.openssh.com/ SUBMENU:=SSH endef +define Package/openssh-client + $(call Package/openssh/Default) + TITLE+= client +endef + define Package/openssh-client/description OpenSSH client. endef @@ -41,12 +46,9 @@ define Package/openssh-client/conffiles endef define Package/openssh-client-utils - SECTION:=net - CATEGORY:=Network - DEPENDS:=+openssh-client +openssh-keygen +libgcc - TITLE:=OpenSSH client utilities - URL:=http://www.openssh.com/ - SUBMENU:=SSH + $(call Package/openssh/Default) + DEPENDS += +openssh-client +openssh-keygen +libgcc + TITLE+= client utilities endef define Package/openssh-client-utils/description @@ -54,12 +56,8 @@ OpenSSH client utilities. endef define Package/openssh-keygen - SECTION:=net - CATEGORY:=Network - DEPENDS:=+libopenssl +zlib +libgcc - TITLE:=OpenSSH keygen - URL:=http://www.openssh.com/ - SUBMENU:=SSH + $(call Package/openssh/Default) + TITLE += keygen endef define Package/openssh-keygen/description @@ -67,12 +65,8 @@ OpenSSH keygen. endef define Package/openssh-server - SECTION:=net - CATEGORY:=Network - DEPENDS:=+libopenssl +zlib +openssh-keygen +libgcc - TITLE:=OpenSSH server - URL:=http://www.openssh.com/ - SUBMENU:=SSH + $(call Package/openssh/Default) + TITLE+= server endef define Package/openssh-server/description @@ -84,12 +78,8 @@ define Package/openssh-server/conffiles endef define Package/openssh-sftp-client - SECTION:=net - CATEGORY:=Network - DEPENDS:=+libopenssl +zlib +libgcc - TITLE:=OpenSSH SFTP client - URL:=http://www.openssh.com/ - SUBMENU:=SSH + $(call Package/openssh/Default) + TITLE+= SFTP client endef define Package/openssh-sftp-client/description @@ -97,12 +87,9 @@ OpenSSH SFTP client. endef define Package/openssh-sftp-server - SECTION:=net - CATEGORY:=Network + $(call Package/openssh/Default) DEPENDS:=+libgcc - TITLE:=OpenSSH SFTP server - URL:=http://www.openssh.com/ - SUBMENU:=SSH + TITLE+= SFTP server endef define Package/openssh-sftp-server/description -- 2.30.2